#23072E#23072E

#23072E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.078 H 314.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#23072E
RGBrgb(35, 7, 46)
HSLhsl(283, 74%, 10%)
HSVhsv(283, 85%, 18%)
CMYKcmyk(23.9%, 84.8%, 0%, 82%)
CIE-LABlab(6.38, 21.93, -19.40)
CIE-LCHlch(6.38, 29.28, 318.50°)
OKLaboklab(20.18% 0.0548 -0.0552)
OKLCHoklch(20.18% 0.078 314.8)
XYZxyz(1.2622, 0.7066, 2.6541)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23072E #122E07
analogous
#0F072E #23072E #2E0725
triadic
#23072E #2E2307 #072E23
tetradic
#23072E #2E0F07 #122E07 #07252E
square
#23072E #2E0F07 #122E07 #07252E
split-complementary
#23072E #252E07 #072E0F
monochromatic
#14041B #14041B #23072E #4B0F63 #741798

Accessibility & contrast

On white

18.40
#23072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23072E
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23072E#FFFFFF#000000##FFFFFF
##23072E1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#220F19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23072e;
/* rgb */ color: rgb(35, 7, 46);
/* oklch */ color: oklch(20.2% 0.078 314.8);
Tailwind
colors: {
  custom: {
    50: '#5f4967',
    500: '#23072e',
    950: '#000000',
  },
}
SCSS
$custom: #23072e;
$custom-light: #5f4967;
$custom-dark: #000000;
JSON
{
  "hex": "#23072e",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 283.077,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20178,
    "c": 0.07784,
    "h": 314.8
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#23072E
secondary
#386E23
accent
#F0386C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #23072E

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

Preview Lab → · Contrast checker → · Palette generator →

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