#38239C#38239C
#38239C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 280.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #38239C |
|---|---|
| RGB | rgb(56, 35, 156) |
| HSL | hsl(250, 63%, 37%) |
| HSV | hsv(250, 78%, 61%) |
| CMYK | cmyk(64.1%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(25.08, 44.13, -61.96) |
| CIE-LCH | lch(25.08, 76.06, 305.46°) |
| OKLab | oklab(37.37% 0.0344 -0.1788) |
| OKLCH | oklch(37.37% 0.182 280.9) |
| XYZ | xyz(8.2308, 4.4425, 31.8698) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Royal
#0C1793
ΔE00 4.53
Cobalt Blue
#030AA7
ΔE00 5.18
Ultramarine
#2000B1
ΔE00 5.32
Royal Blue (survey)
#0504AA
ΔE00 5.54
Indigo (survey)
#380282
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38239C #879C23
analogous
#234B9C #38239C #74239C
triadic
#38239C #9C3823 #239C38
tetradic
#38239C #9C234B #879C23 #239C74
square
#38239C #9C234B #879C23 #239C74
split-complementary
#38239C #9C7423 #4B9C23
monochromatic
#140D38 #26186A #38239C #4A2ECE #745EDB
Accessibility & contrast
On white
11.12
#38239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#38239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38239C
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38239C | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #38239c; /* rgb */ color: rgb(56, 35, 156); /* oklch */ color: oklch(37.4% 0.182 280.9);
Tailwind
colors: {
custom: {
50: '#7c61ba',
500: '#38239c',
950: '#000000',
},
}SCSS
$custom: #38239c; $custom-light: #7c61ba; $custom-dark: #000000;
JSON
{
"hex": "#38239c",
"rgb": {
"r": 56,
"g": 35,
"b": 156
},
"hsl": {
"h": 250.413,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.37371,
"c": 0.18207,
"h": 280.9
},
"luminance": 0.04443
}Semantic roles & 50–950 ramp
primary
#38239C
secondary
#AEC05B
accent
#E641CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981