#230B2A#230B2A

#230B2A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.5% C 0.065 H 318.0°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#230B2A
RGBrgb(35, 11, 42)
HSLhsl(286, 58%, 10%)
HSVhsv(286, 74%, 16%)
CMYKcmyk(16.7%, 73.8%, 0%, 83.5%)
CIE-LABlab(6.90, 18.70, -15.58)
CIE-LCHlch(6.90, 24.34, 320.20°)
OKLaboklab(20.5% 0.0486 -0.0438)
OKLCHoklch(20.5% 0.065 318)
XYZxyz(1.2307, 0.7639, 2.2727)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B2A #122A0B
analogous
#130B2A #230B2A #2A0B21
triadic
#230B2A #2A230B #0B2A23
tetradic
#230B2A #2A130B #122A0B #0B212A
square
#230B2A #2A130B #122A0B #0B212A
split-complementary
#230B2A #212A0B #0B2A13
monochromatic
#140618 #140618 #230B2A #4B185A #74248B

Accessibility & contrast

On white

18.22
#230B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#230B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B2A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B2A#FFFFFF#000000##FFFFFF
##230B2A1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142B
Deuteranopia (green-blind)
#0C1629
Tritanopia (blue-blind)
#231019
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230b2a;
/* rgb */ color: rgb(35, 11, 42);
/* oklch */ color: oklch(20.5% 0.065 318.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b63',
    500: '#230b2a',
    950: '#000000',
  },
}
SCSS
$custom: #230b2a;
$custom-light: #5f4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#230b2a",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 286.452,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20502,
    "c": 0.0654,
    "h": 318
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#230B2A
secondary
#38662B
accent
#E24669
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #230B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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