#230A2B#230A2B

#230A2B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.069 H 317.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#230A2B
RGBrgb(35, 10, 43)
HSLhsl(285, 62%, 10%)
HSVhsv(285, 77%, 17%)
CMYKcmyk(18.6%, 76.7%, 0%, 83.1%)
CIE-LABlab(6.76, 19.51, -16.55)
CIE-LCHlch(6.76, 25.58, 319.69°)
OKLaboklab(20.42% 0.0502 -0.0466)
OKLCHoklch(20.42% 0.069 317.1)
XYZxyz(1.2377, 0.7489, 2.3644)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A2B #122B0A
analogous
#120A2B #230A2B #2B0A22
triadic
#230A2B #2B230A #0A2B23
tetradic
#230A2B #2B120A #122B0A #0A222B
square
#230A2B #2B120A #122B0A #0A222B
split-complementary
#230A2B #222B0A #0A2B12
monochromatic
#140619 #140619 #230A2B #4B165D #74218E

Accessibility & contrast

On white

18.26
#230A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A2B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A2B#FFFFFF#000000##FFFFFF
##230A2B1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132C
Deuteranopia (green-blind)
#0B162A
Tritanopia (blue-blind)
#231019
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230a2b;
/* rgb */ color: rgb(35, 10, 43);
/* oklch */ color: oklch(20.4% 0.069 317.1);
Tailwind
colors: {
  custom: {
    50: '#5f4b64',
    500: '#230a2b',
    950: '#000000',
  },
}
SCSS
$custom: #230a2b;
$custom-light: #5f4b64;
$custom-dark: #000000;
JSON
{
  "hex": "#230a2b",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 285.455,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20416,
    "c": 0.06854,
    "h": 317.1
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#230A2B
secondary
#386829
accent
#E5426A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #230A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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