#702398#702398
#702398 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.182 H 310.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #702398 |
|---|---|
| RGB | rgb(112, 35, 152) |
| HSL | hsl(279, 63%, 37%) |
| HSV | hsv(279, 77%, 60%) |
| CMYK | cmyk(26.3%, 77%, 0%, 40.4%) |
| CIE-LAB | lab(31.61, 52.06, -48.56) |
| CIE-LCH | lch(31.61, 71.20, 316.99°) |
| OKLab | oklab(43.38% 0.1193 -0.1376) |
| OKLCH | oklch(43.38% 0.182 310.9) |
| XYZ | xyz(12.9495, 6.9141, 30.3521) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.56
Rebeccapurple
#663399
ΔE00 3.54
Darkmagenta
#8B008B
ΔE00 6.59
Purple
#800080
ΔE00 6.63
Darkish Purple
#751973
ΔE00 7.64
Indigo
#4B0082
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#702398 #4B9823
analogous
#362398 #702398 #982386
triadic
#702398 #987023 #239870
tetradic
#702398 #983623 #4B9823 #238698
square
#702398 #983623 #4B9823 #238698
split-complementary
#702398 #869823 #239836
monochromatic
#270C35 #4B1866 #702398 #952ECA #AF5CD9
Accessibility & contrast
On white
8.81
#702398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#702398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #702398
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##702398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##702398 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#6B3F5C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #702398; /* rgb */ color: rgb(112, 35, 152); /* oklch */ color: oklch(43.4% 0.182 310.9);
Tailwind
colors: {
custom: {
50: '#9d67b7',
500: '#702398',
950: '#000000',
},
}SCSS
$custom: #702398; $custom-light: #9d67b7; $custom-dark: #000000;
JSON
{
"hex": "#702398",
"rgb": {
"r": 112,
"g": 35,
"b": 152
},
"hsl": {
"h": 279.487,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.43379,
"c": 0.18207,
"h": 310.9
},
"luminance": 0.06914
}Semantic roles & 50–950 ramp
primary
#702398
secondary
#7BBE59
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80