#23011F#23011F

#23011F is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.076 H 333.3°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#23011F
RGBrgb(35, 1, 31)
HSLhsl(307, 94%, 7%)
HSVhsv(307, 97%, 14%)
CMYKcmyk(0%, 97.1%, 11.4%, 86.3%)
CIE-LABlab(4.32, 20.18, -11.12)
CIE-LCHlch(4.32, 23.04, 331.13°)
OKLaboklab(17.87% 0.0681 -0.0343)
OKLCHoklch(17.87% 0.076 333.3)
XYZxyz(0.9513, 0.4780, 1.3382)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23011F #012305
analogous
#160123 #23011F #23010E
triadic
#23011F #1F2301 #011F23
tetradic
#23011F #231601 #012305 #010E23
square
#23011F #231601 #012305 #010E23
split-complementary
#23011F #0E2301 #012316
monochromatic
#1E011A #1E011A #23011F #5F0354 #9A0488

Accessibility & contrast

On white

19.17
#23011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#23011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23011F
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23011F#FFFFFF#000000##FFFFFF
##23011F1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C20
Deuteranopia (green-blind)
#0B111E
Tritanopia (blue-blind)
#25030E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #23011f;
/* rgb */ color: rgb(35, 1, 31);
/* oklch */ color: oklch(17.9% 0.076 333.3);
Tailwind
colors: {
  custom: {
    50: '#5e465a',
    500: '#23011f',
    950: '#000000',
  },
}
SCSS
$custom: #23011f;
$custom-light: #5e465a;
$custom-dark: #000000;
JSON
{
  "hex": "#23011f",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 307.059,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17869,
    "c": 0.07626,
    "h": 333.3
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#23011F
secondary
#166A20
accent
#FF4229
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #23011F

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

Preview Lab → · Contrast checker → · Palette generator →

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