#3F258A#3F258A
#3F258A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.157 H 287.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3F258A |
|---|---|
| RGB | rgb(63, 37, 138) |
| HSL | hsl(255, 58%, 34%) |
| HSV | hsv(255, 73%, 54%) |
| CMYK | cmyk(54.3%, 73.2%, 0%, 45.9%) |
| CIE-LAB | lab(24.37, 38.51, -51.99) |
| CIE-LCH | lch(24.37, 64.70, 306.53°) |
| OKLab | oklab(36.49% 0.0478 -0.1494) |
| OKLCH | oklch(36.49% 0.157 287.8) |
| XYZ | xyz(7.2976, 4.2145, 24.4688) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.80
Royal
#0C1793
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.13
Midnight Blue
#191970
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F258A #708A25
analogous
#253D8A #3F258A #72258A
triadic
#3F258A #8A3F25 #258A3F
tetradic
#3F258A #8A253D #708A25 #258A72
square
#3F258A #8A253D #708A25 #258A72
split-complementary
#3F258A #8A7225 #3D8A25
monochromatic
#130B29 #29185A #3F258A #5532BA #7757D2
Accessibility & contrast
On white
11.39
#3F258A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F258A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F258A
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F258A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F258A | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#214055
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f258a; /* rgb */ color: rgb(63, 37, 138); /* oklch */ color: oklch(36.5% 0.157 287.8);
Tailwind
colors: {
custom: {
50: '#7c62ad',
500: '#3f258a',
950: '#000000',
},
}SCSS
$custom: #3f258a; $custom-light: #7c62ad; $custom-dark: #000000;
JSON
{
"hex": "#3f258a",
"rgb": {
"r": 63,
"g": 37,
"b": 138
},
"hsl": {
"h": 255.446,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.36494,
"c": 0.1569,
"h": 287.8
},
"luminance": 0.04215
}Semantic roles & 50–950 ramp
primary
#3F258A
secondary
#9DB754
accent
#E147B9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F