#23082F#23082F

#23082F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.077 H 313.5°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#23082F
RGBrgb(35, 8, 47)
HSLhsl(282, 71%, 11%)
HSVhsv(282, 83%, 18%)
CMYKcmyk(25.5%, 83%, 0%, 81.6%)
CIE-LABlab(6.65, 21.73, -19.72)
CIE-LCHlch(6.65, 29.34, 317.78°)
OKLaboklab(20.42% 0.0531 -0.056)
OKLCHoklch(20.42% 0.077 313.5)
XYZxyz(1.2930, 0.7363, 2.7628)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23082F #142F08
analogous
#0F082F #23082F #2F0827
triadic
#23082F #2F2308 #082F23
tetradic
#23082F #2F0F08 #142F08 #08272F
square
#23082F #2F0F08 #142F08 #08272F
split-complementary
#23082F #272F08 #082F0F
monochromatic
#13041A #13041A #23082F #4A1163 #711A98

Accessibility & contrast

On white

18.31
#23082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#23082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23082F
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23082F#FFFFFF#000000##FFFFFF
##23082F1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#22101A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #23082f;
/* rgb */ color: rgb(35, 8, 47);
/* oklch */ color: oklch(20.4% 0.077 313.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a68',
    500: '#23082f',
    950: '#000000',
  },
}
SCSS
$custom: #23082f;
$custom-light: #5f4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#23082f",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 281.538,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20424,
    "c": 0.07719,
    "h": 313.5
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#23082F
secondary
#3B6E25
accent
#EE3A71
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #23082F

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

Preview Lab → · Contrast checker → · Palette generator →

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