#310401#310401
#310401 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.4% C 0.074 H 31.5°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #310401 |
|---|---|
| RGB | rgb(49, 4, 1) |
| HSL | hsl(4, 96%, 10%) |
| HSV | hsv(4, 98%, 19%) |
| CMYK | cmyk(0%, 91.8%, 98%, 80.8%) |
| CIE-LAB | lab(6.70, 22.19, 10.09) |
| CIE-LCH | lch(6.70, 24.38, 24.45°) |
| OKLab | oklab(20.37% 0.0631 0.0387) |
| OKLCH | oklch(20.37% 0.074 31.5) |
| XYZ | xyz(1.3157, 0.7422, 0.1027) |
| Luminance | 0.0074 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.60
Deep Brown
#410200
ΔE00 4.82
Mahogany
#4A0100
ΔE00 7.14
Dried Blood
#4B0101
ΔE00 7.28
Very Dark Brown
#1D0200
ΔE00 9.10
Chocolate Brown
#411900
ΔE00 10.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310401 #012E31
analogous
#310116 #310401 #311C01
triadic
#310401 #013104 #040131
tetradic
#310401 #163101 #012E31 #1C0131
square
#310401 #163101 #012E31 #1C0131
split-complementary
#310401 #01311C #011631
monochromatic
#1E0201 #1E0201 #310401 #6D0902 #A90E03
Accessibility & contrast
On white
18.29
#310401 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#310401 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310401
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310401 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310401 | 1.00 | 18.29 | 1.15 | 18.29 |
| #FFFFFF | 18.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#120E00
Deuteranopia (green-blind)
#1D1900
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #310401; /* rgb */ color: rgb(49, 4, 1); /* oklch */ color: oklch(20.4% 0.074 31.5);
Tailwind
colors: {
custom: {
50: '#6d4847',
500: '#310401',
950: '#000000',
},
}SCSS
$custom: #310401; $custom-light: #6d4847; $custom-dark: #000000;
JSON
{
"hex": "#310401",
"rgb": {
"r": 49,
"g": 4,
"b": 1
},
"hsl": {
"h": 3.75,
"s": 96,
"l": 9.804
},
"oklch": {
"l": 0.20372,
"c": 0.07406,
"h": 31.5
},
"luminance": 0.00742
}Semantic roles & 50–950 ramp
primary
#310401
secondary
#177177
accent
#F2FF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777