#3F2292#3F2292
#3F2292 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.170 H 286.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2292 |
|---|---|
| RGB | rgb(63, 34, 146) |
| HSL | hsl(256, 62%, 35%) |
| HSV | hsv(256, 77%, 57%) |
| CMYK | cmyk(56.8%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.56, 42.52, -56.64) |
| CIE-LCH | lch(24.56, 70.83, 306.90°) |
| OKLab | oklab(36.86% 0.0484 -0.163) |
| OKLCH | oklch(36.86% 0.17 286.5) |
| XYZ | xyz(7.8087, 4.2757, 27.6024) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Royal
#0C1793
ΔE00 5.21
Indigo (survey)
#380282
ΔE00 5.44
Indigo
#4B0082
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2292 #759222
analogous
#223D92 #3F2292 #772292
triadic
#3F2292 #923F22 #22923F
tetradic
#3F2292 #92223D #759222 #229277
square
#3F2292 #92223D #759222 #229277
split-complementary
#3F2292 #927722 #3D9222
monochromatic
#140B2F #2A1660 #3F2292 #542EC4 #7857D8
Accessibility & contrast
On white
11.32
#3F2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2292
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2292 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#194158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2292; /* rgb */ color: rgb(63, 34, 146); /* oklch */ color: oklch(36.9% 0.170 286.5);
Tailwind
colors: {
custom: {
50: '#7e61b3',
500: '#3f2292',
950: '#000000',
},
}SCSS
$custom: #3f2292; $custom-light: #7e61b3; $custom-dark: #000000;
JSON
{
"hex": "#3f2292",
"rgb": {
"r": 63,
"g": 34,
"b": 146
},
"hsl": {
"h": 255.536,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.36865,
"c": 0.17007,
"h": 286.5
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#3F2292
secondary
#A1BC54
accent
#E543BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980