#230A2A#230A2A

#230A2A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.067 H 318.3°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#230A2A
RGBrgb(35, 10, 42)
HSLhsl(287, 62%, 10%)
HSVhsv(287, 76%, 16%)
CMYKcmyk(16.7%, 76.2%, 0%, 83.5%)
CIE-LABlab(6.70, 19.21, -15.90)
CIE-LCHlch(6.70, 24.94, 320.39°)
OKLaboklab(20.34% 0.0502 -0.0448)
OKLCHoklch(20.34% 0.067 318.3)
XYZxyz(1.2195, 0.7416, 2.2689)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A2A #112A0A
analogous
#130A2A #230A2A #2A0A21
triadic
#230A2A #2A230A #0A2A23
tetradic
#230A2A #2A130A #112A0A #0A212A
square
#230A2A #2A130A #112A0A #0A212A
split-complementary
#230A2A #212A0A #0A2A13
monochromatic
#150619 #150619 #230A2A #4C165B #75228D

Accessibility & contrast

On white

18.29
#230A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A2A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A2A#FFFFFF#000000##FFFFFF
##230A2A1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#0B1629
Tritanopia (blue-blind)
#230F18
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230a2a;
/* rgb */ color: rgb(35, 10, 42);
/* oklch */ color: oklch(20.3% 0.067 318.3);
Tailwind
colors: {
  custom: {
    50: '#5f4b63',
    500: '#230a2a',
    950: '#000000',
  },
}
SCSS
$custom: #230a2a;
$custom-light: #5f4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#230a2a",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 286.875,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20339,
    "c": 0.06728,
    "h": 318.3
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#230A2A
secondary
#366729
accent
#E54366
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #230A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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