#23072F#23072F

#23072F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.079 H 313.8°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#23072F
RGBrgb(35, 7, 47)
HSLhsl(282, 74%, 11%)
HSVhsv(282, 85%, 18%)
CMYKcmyk(25.5%, 85.1%, 0%, 81.6%)
CIE-LABlab(6.45, 22.23, -20.03)
CIE-LCHlch(6.45, 29.93, 317.99°)
OKLaboklab(20.26% 0.0547 -0.057)
OKLCHoklch(20.26% 0.079 313.8)
XYZxyz(1.2821, 0.7146, 2.7592)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23072F #132F07
analogous
#0F072F #23072F #2F0727
triadic
#23072F #2F2307 #072F23
tetradic
#23072F #2F0F07 #132F07 #07272F
square
#23072F #2F0F07 #132F07 #07272F
split-complementary
#23072F #272F07 #072F0F
monochromatic
#14041B #14041B #23072F #4B0F64 #72179A

Accessibility & contrast

On white

18.37
#23072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23072F
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23072F#FFFFFF#000000##FFFFFF
##23072F1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#220F1A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23072f;
/* rgb */ color: rgb(35, 7, 47);
/* oklch */ color: oklch(20.3% 0.079 313.8);
Tailwind
colors: {
  custom: {
    50: '#604968',
    500: '#23072f',
    950: '#000000',
  },
}
SCSS
$custom: #23072f;
$custom-light: #604968;
$custom-dark: #000000;
JSON
{
  "hex": "#23072f",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 282,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20264,
    "c": 0.07903,
    "h": 313.8
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#23072F
secondary
#3A6F23
accent
#F1376F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #23072F

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

Preview Lab → · Contrast checker → · Palette generator →

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