#3A259F#3A259F
#3A259F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.183 H 281.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3A259F |
|---|---|
| RGB | rgb(58, 37, 159) |
| HSL | hsl(250, 62%, 38%) |
| HSV | hsv(250, 77%, 62%) |
| CMYK | cmyk(63.5%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(25.94, 44.25, -62.38) |
| CIE-LCH | lch(25.94, 76.48, 305.35°) |
| OKLab | oklab(38.11% 0.0353 -0.18) |
| OKLCH | oklch(38.11% 0.183 281.1) |
| XYZ | xyz(8.6625, 4.7252, 33.2497) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.20
Royal
#0C1793
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A259F #8A9F25
analogous
#254D9F #3A259F #77259F
triadic
#3A259F #9F3A25 #259F3A
tetradic
#3A259F #9F254D #8A9F25 #259F77
square
#3A259F #9F254D #8A9F25 #259F77
split-complementary
#3A259F #9F7725 #4D9F25
monochromatic
#160E3C #28196D #3A259F #4D32CF #7864DB
Accessibility & contrast
On white
10.80
#3A259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3A259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A259F
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A259F | 1.00 | 10.80 | 1.95 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a259f; /* rgb */ color: rgb(58, 37, 159); /* oklch */ color: oklch(38.1% 0.183 281.1);
Tailwind
colors: {
custom: {
50: '#7e63bd',
500: '#3a259f',
950: '#000000',
},
}SCSS
$custom: #3a259f; $custom-light: #7e63bd; $custom-dark: #000000;
JSON
{
"hex": "#3a259f",
"rgb": {
"r": 58,
"g": 37,
"b": 159
},
"hsl": {
"h": 250.328,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.38108,
"c": 0.18338,
"h": 281.1
},
"luminance": 0.04726
}Semantic roles & 50–950 ramp
primary
#3A259F
secondary
#B0C05F
accent
#E542C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81