#230D2B#230D2B

#230D2B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.063 H 316.2°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#230D2B
RGBrgb(35, 13, 43)
HSLhsl(284, 54%, 11%)
HSVhsv(284, 70%, 17%)
CMYKcmyk(18.6%, 69.8%, 0%, 83.1%)
CIE-LABlab(7.40, 17.86, -15.54)
CIE-LCHlch(7.40, 23.68, 318.98°)
OKLaboklab(20.92% 0.0453 -0.0435)
OKLCHoklch(20.92% 0.063 316.2)
XYZxyz(1.2730, 0.8196, 2.3762)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D2B #152B0D
analogous
#140D2B #230D2B #2B0D24
triadic
#230D2B #2B230D #0D2B23
tetradic
#230D2B #2B140D #152B0D #0D242B
square
#230D2B #2B140D #152B0D #0D242B
split-complementary
#230D2B #242B0D #0D2B14
monochromatic
#130717 #130717 #230D2B #491B5A #6F2989

Accessibility & contrast

On white

18.04
#230D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D2B
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D2B#FFFFFF#000000##FFFFFF
##230D2B1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152C
Deuteranopia (green-blind)
#0D172A
Tritanopia (blue-blind)
#23121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230d2b;
/* rgb */ color: rgb(35, 13, 43);
/* oklch */ color: oklch(20.9% 0.063 316.2);
Tailwind
colors: {
  custom: {
    50: '#5f4d64',
    500: '#230d2b',
    950: '#000000',
  },
}
SCSS
$custom: #230d2b;
$custom-light: #5f4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#230d2b",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 284,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20921,
    "c": 0.06278,
    "h": 316.2
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#230D2B
secondary
#3D662E
accent
#DD4B72
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #230D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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