#230B20#230B20

#230B20 is a very dark, muted purple. Relative luminance 0.007; OKLCH L 19.8% C 0.053 H 332.3°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#230B20
RGBrgb(35, 11, 32)
HSLhsl(308, 52%, 9%)
HSVhsv(308, 69%, 14%)
CMYKcmyk(0%, 68.6%, 8.6%, 86.3%)
CIE-LABlab(6.33, 15.92, -8.85)
CIE-LCHlch(6.33, 18.22, 330.94°)
OKLaboklab(19.82% 0.0472 -0.0247)
OKLCHoklch(19.82% 0.053 332.3)
XYZxyz(1.0735, 0.7010, 1.4450)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B20 #0B230E
analogous
#1A0B23 #230B20 #230B14
triadic
#230B20 #20230B #0B2023
tetradic
#230B20 #231A0B #0B230E #0B1423
square
#230B20 #231A0B #0B230E #0B1423
split-complementary
#230B20 #14230B #0B231A
monochromatic
#170715 #170715 #230B20 #521A4B #802875

Accessibility & contrast

On white

18.42
#230B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#230B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B20
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B20#FFFFFF#000000##FFFFFF
##230B201.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1221
Deuteranopia (green-blind)
#11151F
Tritanopia (blue-blind)
#250D14
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #230b20;
/* rgb */ color: rgb(35, 11, 32);
/* oklch */ color: oklch(19.8% 0.053 332.3);
Tailwind
colors: {
  custom: {
    50: '#5e4b5b',
    500: '#230b20',
    950: '#000000',
  },
}
SCSS
$custom: #230b20;
$custom-light: #5e4b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#230b20",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 32
  },
  "hsl": {
    "h": 307.5,
    "s": 52.174,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19819,
    "c": 0.05324,
    "h": 332.3
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#230B20
secondary
#2C5E32
accent
#DC5E4C
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #230B20

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

Preview Lab → · Contrast checker → · Palette generator →

#230B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva