#3B23A3#3B23A3
#3B23A3 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.190 H 281.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3B23A3 |
|---|---|
| RGB | rgb(59, 35, 163) |
| HSL | hsl(251, 65%, 39%) |
| HSV | hsv(251, 79%, 64%) |
| CMYK | cmyk(63.8%, 78.5%, 0%, 36.1%) |
| CIE-LAB | lab(26.09, 46.61, -64.56) |
| CIE-LCH | lch(26.09, 79.63, 305.83°) |
| OKLab | oklab(38.36% 0.0369 -0.1863) |
| OKLCH | oklch(38.36% 0.19 281.2) |
| XYZ | xyz(9.0134, 4.7755, 35.0900) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.50
Ultramarine
#2000B1
ΔE00 5.05
Royal
#0C1793
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 5.26
Royal Blue (survey)
#0504AA
ΔE00 5.54
True Blue
#010FCC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B23A3 #8BA323
analogous
#234BA3 #3B23A3 #7B23A3
triadic
#3B23A3 #A33B23 #23A33B
tetradic
#3B23A3 #A3234B #8BA323 #23A37B
square
#3B23A3 #A3234B #8BA323 #23A37B
split-complementary
#3B23A3 #A37B23 #4BA323
monochromatic
#170D3E #291871 #3B23A3 #4F31D3 #7A63DD
Accessibility & contrast
On white
10.74
#3B23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3B23A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B23A3
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B23A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B23A3 | 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)
#0042A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3b23a3; /* rgb */ color: rgb(59, 35, 163); /* oklch */ color: oklch(38.4% 0.190 281.2);
Tailwind
colors: {
custom: {
50: '#7f62bf',
500: '#3b23a3',
950: '#000000',
},
}SCSS
$custom: #3b23a3; $custom-light: #7f62bf; $custom-dark: #000000;
JSON
{
"hex": "#3b23a3",
"rgb": {
"r": 59,
"g": 35,
"b": 163
},
"hsl": {
"h": 251.25,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.38358,
"c": 0.18991,
"h": 281.2
},
"luminance": 0.04776
}Semantic roles & 50–950 ramp
primary
#3B23A3
secondary
#B0C35F
accent
#E840C8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981