#672496#672496
#672496 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.176 H 307.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #672496 |
|---|---|
| RGB | rgb(103, 36, 150) |
| HSL | hsl(275, 61%, 36%) |
| HSV | hsv(275, 76%, 59%) |
| CMYK | cmyk(31.3%, 76%, 0%, 41.2%) |
| CIE-LAB | lab(30.27, 49.47, -49.57) |
| CIE-LCH | lch(30.27, 70.03, 314.94°) |
| OKLab | oklab(42.11% 0.1062 -0.1409) |
| OKLCH | oklch(42.11% 0.176 307) |
| XYZ | xyz(11.7282, 6.3475, 29.4556) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.03
Purple (survey)
#7E1E9C
ΔE00 4.23
Indigo
#4B0082
ΔE00 7.29
Purple
#800080
ΔE00 7.72
Darkmagenta
#8B008B
ΔE00 8.04
Darkish Purple
#751973
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672496 #539624
analogous
#2E2496 #672496 #96248C
triadic
#672496 #966724 #249667
tetradic
#672496 #962E24 #539624 #248C96
square
#672496 #962E24 #539624 #248C96
split-complementary
#672496 #8C9624 #24962E
monochromatic
#230C33 #451865 #672496 #8930C7 #A55CD8
Accessibility & contrast
On white
9.25
#672496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#672496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672496
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672496 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#5F405B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #672496; /* rgb */ color: rgb(103, 36, 150); /* oklch */ color: oklch(42.1% 0.176 307.0);
Tailwind
colors: {
custom: {
50: '#9766b6',
500: '#672496',
950: '#000000',
},
}SCSS
$custom: #672496; $custom-light: #9766b6; $custom-dark: #000000;
JSON
{
"hex": "#672496",
"rgb": {
"r": 103,
"g": 36,
"b": 150
},
"hsl": {
"h": 275.263,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.42111,
"c": 0.17639,
"h": 307
},
"luminance": 0.06347
}Semantic roles & 50–950 ramp
primary
#672496
secondary
#82BD59
accent
#E44386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80