#3F2294#3F2294
#3F2294 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.172 H 286.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2294 |
|---|---|
| RGB | rgb(63, 34, 148) |
| HSL | hsl(255, 63%, 36%) |
| HSV | hsv(255, 77%, 58%) |
| CMYK | cmyk(57.4%, 77%, 0%, 42%) |
| CIE-LAB | lab(24.76, 43.12, -57.55) |
| CIE-LCH | lch(24.76, 71.91, 306.84°) |
| OKLab | oklab(37.06% 0.0479 -0.1657) |
| OKLCH | oklch(37.06% 0.172 286.1) |
| XYZ | xyz(7.9656, 4.3385, 28.4289) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.30
Royal
#0C1793
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.56
Indigo
#4B0082
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2294 #779422
analogous
#223E94 #3F2294 #782294
triadic
#3F2294 #943F22 #22943F
tetradic
#3F2294 #94223E #779422 #229478
square
#3F2294 #94223E #779422 #229478
split-complementary
#3F2294 #947822 #3E9422
monochromatic
#150B30 #2A1762 #3F2294 #542DC6 #7958D9
Accessibility & contrast
On white
11.24
#3F2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3F2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2294
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2294 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#16425A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2294; /* rgb */ color: rgb(63, 34, 148); /* oklch */ color: oklch(37.1% 0.172 286.1);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3f2294',
950: '#000000',
},
}SCSS
$custom: #3f2294; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3f2294",
"rgb": {
"r": 63,
"g": 34,
"b": 148
},
"hsl": {
"h": 255.263,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.37063,
"c": 0.17246,
"h": 286.1
},
"luminance": 0.04339
}Semantic roles & 50–950 ramp
primary
#3F2294
secondary
#A2BD55
accent
#E642BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980