#3F259C#3F259C
#3F259C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.179 H 284.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3F259C |
|---|---|
| RGB | rgb(63, 37, 156) |
| HSL | hsl(253, 62%, 38%) |
| HSV | hsv(253, 76%, 61%) |
| CMYK | cmyk(59.6%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(26.10, 43.97, -60.26) |
| CIE-LCH | lch(26.10, 74.60, 306.12°) |
| OKLab | oklab(38.24% 0.0435 -0.1736) |
| OKLCH | oklch(38.24% 0.179 284.1) |
| XYZ | xyz(8.7104, 4.7796, 31.9096) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.54
Royal
#0C1793
ΔE00 5.50
Ultramarine
#2000B1
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 6.04
Royal Blue (survey)
#0504AA
ΔE00 6.36
Indigo (survey)
#380282
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F259C #829C25
analogous
#25479C #3F259C #7A259C
triadic
#3F259C #9C3F25 #259C3F
tetradic
#3F259C #9C2547 #829C25 #259C7A
square
#3F259C #9C2547 #829C25 #259C7A
split-complementary
#3F259C #9C7A25 #479C25
monochromatic
#170E39 #2B196B #3F259C #5331CD #7C62DA
Accessibility & contrast
On white
10.74
#3F259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F259C
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F259C | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#05475F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f259c; /* rgb */ color: rgb(63, 37, 156); /* oklch */ color: oklch(38.2% 0.179 284.1);
Tailwind
colors: {
custom: {
50: '#8063ba',
500: '#3f259c',
950: '#000000',
},
}SCSS
$custom: #3f259c; $custom-light: #8063ba; $custom-dark: #000000;
JSON
{
"hex": "#3f259c",
"rgb": {
"r": 63,
"g": 37,
"b": 156
},
"hsl": {
"h": 253.109,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.38243,
"c": 0.17902,
"h": 284.1
},
"luminance": 0.0478
}Semantic roles & 50–950 ramp
primary
#3F259C
secondary
#AABF5E
accent
#E543C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81