#23001F#23001F

#23001F is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.7% C 0.079 H 333.2°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#23001F
RGBrgb(35, 0, 31)
HSLhsl(307, 100%, 7%)
HSVhsv(307, 100%, 14%)
CMYKcmyk(0%, 100%, 11.4%, 86.3%)
CIE-LABlab(4.12, 20.61, -11.42)
CIE-LCHlch(4.12, 23.56, 331.01°)
OKLaboklab(17.66% 0.0707 -0.0356)
OKLCHoklch(17.66% 0.079 333.2)
XYZxyz(0.9405, 0.4563, 1.3346)
Luminance0.0046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23001F #002304
analogous
#160023 #23001F #23000E
triadic
#23001F #1F2300 #001F23
tetradic
#23001F #231600 #002304 #000E23
square
#23001F #231600 #002304 #000E23
split-complementary
#23001F #0E2300 #002316
monochromatic
#1F001B #1F001B #23001F #600055 #9D008B

Accessibility & contrast

On white

19.24
#23001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#23001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23001F
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23001F#FFFFFF#000000##FFFFFF
##23001F1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#0A101E
Tritanopia (blue-blind)
#25020E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #23001f;
/* rgb */ color: rgb(35, 0, 31);
/* oklch */ color: oklch(17.7% 0.079 333.2);
Tailwind
colors: {
  custom: {
    50: '#5e465a',
    500: '#23001f',
    950: '#000000',
  },
}
SCSS
$custom: #23001f;
$custom-light: #5e465a;
$custom-dark: #000000;
JSON
{
  "hex": "#23001f",
  "rgb": {
    "r": 35,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 306.857,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17656,
    "c": 0.07919,
    "h": 333.2
  },
  "luminance": 0.00456
}

Semantic roles & 50–950 ramp

primary
#23001F
secondary
#136C1D
accent
#FF4129
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #23001F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#23001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva