#23031E#23031E

#23031E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.070 H 334.8°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#23031E
RGBrgb(35, 3, 30)
HSLhsl(309, 84%, 7%)
HSVhsv(309, 91%, 14%)
CMYKcmyk(0%, 91.4%, 14.3%, 86.3%)
CIE-LABlab(4.66, 19.02, -9.81)
CIE-LCHlch(4.66, 21.40, 332.70°)
OKLaboklab(18.21% 0.0632 -0.0297)
OKLCHoklch(18.21% 0.07 334.8)
XYZxyz(0.9601, 0.5163, 1.2771)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23031E #032308
analogous
#180323 #23031E #23030E
triadic
#23031E #1E2303 #031E23
tetradic
#23031E #231803 #032308 #030E23
square
#23031E #231803 #032308 #030E23
split-complementary
#23031E #0E2303 #032318
monochromatic
#1C0218 #1C0218 #23031E #5B084E #940D7F

Accessibility & contrast

On white

19.04
#23031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#23031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23031E
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23031E#FFFFFF#000000##FFFFFF
##23031E1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D1F
Deuteranopia (green-blind)
#0D121D
Tritanopia (blue-blind)
#25050F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #23031e;
/* rgb */ color: rgb(35, 3, 30);
/* oklch */ color: oklch(18.2% 0.070 334.8);
Tailwind
colors: {
  custom: {
    50: '#5e4759',
    500: '#23031e',
    950: '#000000',
  },
}
SCSS
$custom: #23031e;
$custom-light: #5e4759;
$custom-dark: #000000;
JSON
{
  "hex": "#23031e",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 309.375,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18209,
    "c": 0.06982,
    "h": 334.8
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#23031E
secondary
#1B6727
accent
#FA4D2D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #23031E

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

Preview Lab → · Contrast checker → · Palette generator →

#23031E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva