#23072C#23072C

#23072C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.075 H 316.8°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#23072C
RGBrgb(35, 7, 44)
HSLhsl(285, 73%, 10%)
HSVhsv(285, 84%, 17%)
CMYKcmyk(20.5%, 84.1%, 0%, 82.7%)
CIE-LABlab(6.24, 21.31, -18.12)
CIE-LCHlch(6.24, 27.97, 319.62°)
OKLaboklab(20.01% 0.0551 -0.0516)
OKLCHoklch(20.01% 0.075 316.8)
XYZxyz(1.2237, 0.6912, 2.4513)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23072C #102C07
analogous
#10072C #23072C #2C0723
triadic
#23072C #2C2307 #072C23
tetradic
#23072C #2C1007 #102C07 #07232C
square
#23072C #2C1007 #102C07 #07232C
split-complementary
#23072C #232C07 #072C10
monochromatic
#15041A #15041A #23072C #4D0F61 #771896

Accessibility & contrast

On white

18.45
#23072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23072C
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23072C#FFFFFF#000000##FFFFFF
##23072C1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#07152B
Tritanopia (blue-blind)
#230E18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23072c;
/* rgb */ color: rgb(35, 7, 44);
/* oklch */ color: oklch(20.0% 0.075 316.8);
Tailwind
colors: {
  custom: {
    50: '#5f4965',
    500: '#23072c',
    950: '#000000',
  },
}
SCSS
$custom: #23072c;
$custom-light: #5f4965;
$custom-dark: #000000;
JSON
{
  "hex": "#23072c",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 285.405,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20009,
    "c": 0.07547,
    "h": 316.8
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#23072C
secondary
#356C23
accent
#EF3965
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #23072C

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

Preview Lab → · Contrast checker → · Palette generator →

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