#230A2D#230A2D

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

Color values

HEX#230A2D
RGBrgb(35, 10, 45)
HSLhsl(283, 64%, 11%)
HSVhsv(283, 78%, 18%)
CMYKcmyk(22.2%, 77.8%, 0%, 82.4%)
CIE-LABlab(6.90, 20.10, -17.83)
CIE-LCHlch(6.90, 26.87, 318.43°)
OKLaboklab(20.57% 0.0502 -0.0503)
OKLCHoklch(20.57% 0.071 314.9)
XYZxyz(1.2753, 0.7639, 2.5624)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A2D #142D0A
analogous
#110A2D #230A2D #2D0A25
triadic
#230A2D #2D230A #0A2D23
tetradic
#230A2D #2D110A #142D0A #0A252D
square
#230A2D #2D110A #142D0A #0A252D
split-complementary
#230A2D #252D0A #0A2D11
monochromatic
#130619 #130619 #230A2D #4A155F #712091

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##230A2D#FFFFFF#000000##FFFFFF
##230A2D1.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)
#01142E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#22101A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230a2d;
/* rgb */ color: rgb(35, 10, 45);
/* oklch */ color: oklch(20.6% 0.071 314.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b66',
    500: '#230a2d',
    950: '#000000',
  },
}
SCSS
$custom: #230a2d;
$custom-light: #5f4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#230a2d",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 282.857,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20573,
    "c": 0.07107,
    "h": 314.9
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#230A2D
secondary
#3B6A29
accent
#E74170
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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