最接近的命名颜色 · #6F466B
#6F466B
最接近的命名颜色: Royal Plum
#6F466B(rgb(111 70 107)、hsl(306 23% 35%)、oklch(0.455 0.078 330.2))最接近命名颜色 Royal Plum。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6F466B
oklch(0.455 0.078 330.2)
颜色转换
- HEX
- #6f466b
- RGB
- rgb(111 70 107)
- HSL
- hsl(306 23% 35%)
- HWB
- hwb(306 27% 56%)
- OKLCH
- oklch(0.455 0.078 330.2)
- OKLab
- oklab(0.455 0.068 -0.039)
- CIE Lab
- lab(35.63 22.8 -14.11)
- LCH
- lch(35.63 26.82 328.2)
- CMYK
- cmyk(0% 37% 4% 56%)
浅色调 · 深色调 · 灰色调
浅色调
- 7D5779
- 8B6887
- 997A95
- A78CA4
- B69EB3
- C4B1C2
- D3C4D1
- E1D7E0
- F0EBEF
深色调
- 603C5C
- 51324E
- 42283F
- 341E32
- 271525
- 1A0D18
- 0E050D
- 040204
- 010000
灰色调
- 714C6D
- 73526F
- 755872
- 775D74
- 786376
- 7A6978
- 7C6F7A
- 7D747C
- 7F7A7E
配色和谐
互补色 +180°
- 6F466B
Royal Plum
- 34633F
≈ Forest Serenade
类似色 -30° +30°
- 6F466B
Royal Plum
- 5D4C7B
≈ Royal Robe
- 7A4355
≈ Cheerful Wine
三角配色 +120° +240°
- 6F466B
Royal Plum
- 67541C
≈ Field Drab
- 03626F
≈ Blue Lagoon
分裂互补色 +150° +210°
- 6F466B
Royal Plum
- 515D28
≈ Saratoga
- 0F6458
≈ Philodendron
四角配色 +90° +180° +270°
- 6F466B
Royal Plum
- 764B26
≈ Vintage Wood
- 34633F
≈ Forest Serenade
- 285C7E
≈ Suez Canal
对比度与无障碍
Ag
AAA白底
WCAG 7.59:1 · APCA Lc 86
Ag
Fail黑底
WCAG 2.76:1 · APCA Lc 16
最佳文字颜色: #FFFFFF
WCAG 7.59:1 (AAA) · APCA Lc 86
Contrast pairs
代码片段
CSS
:root {
--royal-plum: #6f466b;
--royal-plum-rgb: 111 70 107;
--royal-plum-oklch: oklch(0.455 0.078 330.2);
}
.element {
color: var(--royal-plum);
background-color: hsl(306 23% 35%);
border-color: oklch(0.455 0.078 330.2);
}Tailwind CSS v4
@theme {
--color-royal-plum: #6f466b;
--color-royal-plum-50: #ffedff;
--color-royal-plum-100: #f8dff4;
--color-royal-plum-200: #e9c9e3;
--color-royal-plum-300: #d0a9c9;
--color-royal-plum-400: #b98eb4;
--color-royal-plum-500: #a4739f;
--color-royal-plum-600: #8a6286;
--color-royal-plum-700: #6f4e6b;
--color-royal-plum-800: #513950;
--color-royal-plum-900: #392738;
--color-royal-plum-950: #231522;
}SCSS
$royal-plum: #6f466b;
$royal-plum-rgb: 111, 70, 107;
$royal-plum-light: mix(#fff, $royal-plum, 20%);
$royal-plum-dark: mix(#000, $royal-plum, 20%);
.element {
color: $royal-plum;
box-shadow: 0 0 0 2px rgba($royal-plum, 0.35);
}