#23072B#23072B

#23072B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.074 H 317.9°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#23072B
RGBrgb(35, 7, 43)
HSLhsl(287, 72%, 10%)
HSVhsv(287, 84%, 17%)
CMYKcmyk(18.6%, 83.7%, 0%, 83.1%)
CIE-LABlab(6.18, 21.00, -17.48)
CIE-LCHlch(6.18, 27.32, 320.24°)
OKLaboklab(19.93% 0.0551 -0.0498)
OKLCHoklch(19.93% 0.074 317.9)
XYZxyz(1.2051, 0.6838, 2.3535)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23072B #0F2B07
analogous
#11072B #23072B #2B0721
triadic
#23072B #2B2307 #072B23
tetradic
#23072B #2B1107 #0F2B07 #07212B
square
#23072B #2B1107 #0F2B07 #07212B
split-complementary
#23072B #212B07 #072B11
monochromatic
#15041A #15041A #23072B #4E1060 #791894

Accessibility & contrast

On white

18.47
#23072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#23072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23072B
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23072B#FFFFFF#000000##FFFFFF
##23072B1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#08152A
Tritanopia (blue-blind)
#230E18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23072b;
/* rgb */ color: rgb(35, 7, 43);
/* oklch */ color: oklch(19.9% 0.074 317.9);
Tailwind
colors: {
  custom: {
    50: '#5f4964',
    500: '#23072b',
    950: '#000000',
  },
}
SCSS
$custom: #23072b;
$custom-light: #5f4964;
$custom-dark: #000000;
JSON
{
  "hex": "#23072b",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 286.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19927,
    "c": 0.07429,
    "h": 317.9
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#23072B
secondary
#336B23
accent
#EF3961
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #23072B

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

Preview Lab → · Contrast checker → · Palette generator →

#23072B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva