#37165C#37165C
#37165C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.118 H 300.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #37165C |
|---|---|
| RGB | rgb(55, 22, 92) |
| HSL | hsl(268, 61%, 22%) |
| HSV | hsv(268, 76%, 36%) |
| CMYK | cmyk(40.2%, 76.1%, 0%, 63.9%) |
| CIE-LAB | lab(16.30, 31.66, -35.56) |
| CIE-LCH | lch(16.30, 47.61, 311.68°) |
| OKLab | oklab(29.25% 0.0604 -0.1014) |
| OKLCH | oklch(29.25% 0.118 300.8) |
| XYZ | xyz(3.7938, 2.1587, 10.3399) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.80
Royal Purple (survey)
#4B006E
ΔE00 5.70
Dark Violet
#34013F
ΔE00 6.89
Dark Purple
#35063E
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.07
Deep Purple
#36013F
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37165C #3B5C16
analogous
#16185C #37165C #5A165C
triadic
#37165C #5C3716 #165C37
tetradic
#37165C #5C1618 #3B5C16 #165C5A
square
#37165C #5C1618 #3B5C16 #165C5A
split-complementary
#37165C #5C5A16 #185C16
monochromatic
#0F0619 #190A2B #37165C #55228D #722EBF
Accessibility & contrast
On white
14.67
#37165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#37165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37165C
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37165C | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2F2737
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #37165c; /* rgb */ color: rgb(55, 22, 92); /* oklch */ color: oklch(29.3% 0.118 300.8);
Tailwind
colors: {
custom: {
50: '#72568b',
500: '#37165c',
950: '#000000',
},
}SCSS
$custom: #37165c; $custom-light: #72568b; $custom-dark: #000000;
JSON
{
"hex": "#37165c",
"rgb": {
"r": 55,
"g": 22,
"b": 92
},
"hsl": {
"h": 268.286,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.2925,
"c": 0.11802,
"h": 300.8
},
"luminance": 0.02159
}Semantic roles & 50–950 ramp
primary
#37165C
secondary
#69933B
accent
#E54399
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D