#3A23A3#3A23A3
#3A23A3 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.190 H 280.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3A23A3 |
|---|---|
| RGB | rgb(58, 35, 163) |
| HSL | hsl(251, 65%, 39%) |
| HSV | hsv(251, 79%, 64%) |
| CMYK | cmyk(64.4%, 78.5%, 0%, 36.1%) |
| CIE-LAB | lab(26.00, 46.49, -64.71) |
| CIE-LCH | lch(26.00, 79.68, 305.70°) |
| OKLab | oklab(38.27% 0.0354 -0.1867) |
| OKLCH | oklch(38.27% 0.19 280.7) |
| XYZ | xyz(8.9547, 4.7453, 35.0873) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.51
Ultramarine
#2000B1
ΔE00 5.01
Royal
#0C1793
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.18
Royal Blue (survey)
#0504AA
ΔE00 5.47
True Blue
#010FCC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A23A3 #8CA323
analogous
#234CA3 #3A23A3 #7A23A3
triadic
#3A23A3 #A33A23 #23A33A
tetradic
#3A23A3 #A3234C #8CA323 #23A37A
square
#3A23A3 #A3234C #8CA323 #23A37A
split-complementary
#3A23A3 #A37A23 #4CA323
monochromatic
#160D3E #281871 #3A23A3 #4E31D3 #7963DD
Accessibility & contrast
On white
10.77
#3A23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3A23A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A23A3
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A23A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A23A3 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 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: #3a23a3; /* rgb */ color: rgb(58, 35, 163); /* oklch */ color: oklch(38.3% 0.190 280.7);
Tailwind
colors: {
custom: {
50: '#7f62bf',
500: '#3a23a3',
950: '#000000',
},
}SCSS
$custom: #3a23a3; $custom-light: #7f62bf; $custom-dark: #000000;
JSON
{
"hex": "#3a23a3",
"rgb": {
"r": 58,
"g": 35,
"b": 163
},
"hsl": {
"h": 250.781,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.38274,
"c": 0.19008,
"h": 280.7
},
"luminance": 0.04746
}Semantic roles & 50–950 ramp
primary
#3A23A3
secondary
#B1C35F
accent
#E840CA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981