#672198#672198
#672198 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.182 H 306.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #672198 |
|---|---|
| RGB | rgb(103, 33, 152) |
| HSL | hsl(275, 64%, 36%) |
| HSV | hsv(275, 78%, 60%) |
| CMYK | cmyk(32.2%, 78.3%, 0%, 40.4%) |
| CIE-LAB | lab(30.01, 51.15, -51.23) |
| CIE-LCH | lch(30.01, 72.39, 314.96°) |
| OKLab | oklab(41.97% 0.1085 -0.1457) |
| OKLCH | oklch(41.97% 0.182 306.7) |
| XYZ | xyz(11.8036, 6.2384, 30.2820) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.47
Purple (survey)
#7E1E9C
ΔE00 4.29
Indigo
#4B0082
ΔE00 7.02
Purple
#800080
ΔE00 7.81
Violet Blue
#510AC9
ΔE00 8.09
Darkmagenta
#8B008B
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672198 #529821
analogous
#2C2198 #672198 #98218E
triadic
#672198 #986721 #219867
tetradic
#672198 #982C21 #529821 #218E98
square
#672198 #982C21 #529821 #218E98
split-complementary
#672198 #8E9821 #21982C
monochromatic
#230B33 #451666 #672198 #892CCA #A559DB
Accessibility & contrast
On white
9.34
#672198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#672198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672198
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672198 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#5E3F5C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #672198; /* rgb */ color: rgb(103, 33, 152); /* oklch */ color: oklch(42.0% 0.182 306.7);
Tailwind
colors: {
custom: {
50: '#9765b7',
500: '#672198',
950: '#000000',
},
}SCSS
$custom: #672198; $custom-light: #9765b7; $custom-dark: #000000;
JSON
{
"hex": "#672198",
"rgb": {
"r": 103,
"g": 33,
"b": 152
},
"hsl": {
"h": 275.294,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.41973,
"c": 0.18166,
"h": 306.7
},
"luminance": 0.06238
}Semantic roles & 50–950 ramp
primary
#672198
secondary
#81BF56
accent
#E74085
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80