#666397#666397
#666397 is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.4% C 0.081 H 285.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #666397 |
|---|---|
| RGB | rgb(102, 99, 151) |
| HSL | hsl(243, 21%, 49%) |
| HSV | hsv(243, 34%, 59%) |
| CMYK | cmyk(32.5%, 34.4%, 0%, 40.8%) |
| CIE-LAB | lab(44.21, 13.81, -27.98) |
| CIE-LCH | lch(44.21, 31.20, 296.26°) |
| OKLab | oklab(52.43% 0.0222 -0.078) |
| OKLCH | oklch(52.43% 0.081 285.9) |
| XYZ | xyz(15.5258, 13.9824, 31.1530) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 6.83
Twilight
#4E518B
ΔE00 7.12
Dusky Blue
#475F94
ΔE00 7.97
Dark Lavender
#856798
ΔE00 8.70
Royal Purple
#7851A9
ΔE00 9.28
Iris
#6258C4
ΔE00 9.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666397 #949763
analogous
#637A97 #666397 #806397
triadic
#666397 #976663 #639766
tetradic
#666397 #97637A #949763 #639780
square
#666397 #97637A #949763 #639780
split-complementary
#666397 #978063 #7A9763
monochromatic
#34334D #4D4B72 #666397 #8987B0 #AEACC9
Accessibility & contrast
On white
5.53
#666397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#666397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666397
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666397 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#5A6C76
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #666397; /* rgb */ color: rgb(102, 99, 151); /* oklch */ color: oklch(52.4% 0.081 285.9);
Tailwind
colors: {
custom: {
50: '#938fb6',
500: '#666397',
950: '#000000',
},
}SCSS
$custom: #666397; $custom-light: #938fb6; $custom-dark: #000000;
JSON
{
"hex": "#666397",
"rgb": {
"r": 102,
"g": 99,
"b": 151
},
"hsl": {
"h": 243.462,
"s": 20.8,
"l": 49.02
},
"oklch": {
"l": 0.52431,
"c": 0.08106,
"h": 285.9
},
"luminance": 0.13983
}Semantic roles & 50–950 ramp
primary
#666397
secondary
#B6B79F
accent
#BD6AB9
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80