#702F9F#702F9F
#702F9F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.175 H 307.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #702F9F |
|---|---|
| RGB | rgb(112, 47, 159) |
| HSL | hsl(275, 54%, 40%) |
| HSV | hsv(275, 70%, 62%) |
| CMYK | cmyk(29.6%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(33.94, 48.50, -49.04) |
| CIE-LCH | lch(33.94, 68.98, 314.68°) |
| OKLab | oklab(45.2% 0.106 -0.1391) |
| OKLCH | oklch(45.2% 0.175 307.3) |
| XYZ | xyz(13.9553, 7.9812, 33.5995) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.10
Purple (survey)
#7E1E9C
ΔE00 3.62
Darkmagenta
#8B008B
ΔE00 8.06
Purple Blue
#5D21D0
ΔE00 8.22
Bluey Purple
#6241C7
ΔE00 8.25
Purple
#800080
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#702F9F #5E9F2F
analogous
#382F9F #702F9F #9F2F96
triadic
#702F9F #9F702F #2F9F70
tetradic
#702F9F #9F382F #5E9F2F #2F969F
square
#702F9F #9F382F #5E9F2F #2F969F
split-complementary
#702F9F #969F2F #2F9F38
monochromatic
#2D1341 #4F2170 #702F9F #9044C8 #AC73D6
Accessibility & contrast
On white
8.09
#702F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#702F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #702F9F
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##702F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##702F9F | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#0F509D
Tritanopia (blue-blind)
#684863
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #702f9f; /* rgb */ color: rgb(112, 47, 159); /* oklch */ color: oklch(45.2% 0.175 307.3);
Tailwind
colors: {
custom: {
50: '#9d6dbc',
500: '#702f9f',
950: '#000000',
},
}SCSS
$custom: #702f9f; $custom-light: #9d6dbc; $custom-dark: #000000;
JSON
{
"hex": "#702f9f",
"rgb": {
"r": 112,
"g": 47,
"b": 159
},
"hsl": {
"h": 274.821,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.45197,
"c": 0.17484,
"h": 307.3
},
"luminance": 0.07981
}Semantic roles & 50–950 ramp
primary
#702F9F
secondary
#8EBD6D
accent
#DE4A88
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81