#230D2C#230D2C

#230D2C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.064 H 315.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#230D2C
RGBrgb(35, 13, 44)
HSLhsl(283, 54%, 11%)
HSVhsv(283, 70%, 17%)
CMYKcmyk(20.5%, 70.5%, 0%, 82.7%)
CIE-LABlab(7.47, 18.15, -16.18)
CIE-LCHlch(7.47, 24.31, 318.28°)
OKLaboklab(21% 0.0454 -0.0453)
OKLCHoklch(21% 0.064 315)
XYZxyz(1.2916, 0.8271, 2.4740)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D2C #162C0D
analogous
#130D2C #230D2C #2C0D25
triadic
#230D2C #2C230D #0D2C23
tetradic
#230D2C #2C130D #162C0D #0D252C
square
#230D2C #2C130D #162C0D #0D252C
split-complementary
#230D2C #252C0D #0D2C13
monochromatic
#130718 #130718 #230D2C #491B5B #6E298A

Accessibility & contrast

On white

18.02
#230D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D2C
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D2C#FFFFFF#000000##FFFFFF
##230D2C1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#0D172B
Tritanopia (blue-blind)
#22121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230d2c;
/* rgb */ color: rgb(35, 13, 44);
/* oklch */ color: oklch(21.0% 0.064 315.0);
Tailwind
colors: {
  custom: {
    50: '#5f4d65',
    500: '#230d2c',
    950: '#000000',
  },
}
SCSS
$custom: #230d2c;
$custom-light: #5f4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#230d2c",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 282.581,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20995,
    "c": 0.06412,
    "h": 315
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#230D2C
secondary
#3F672E
accent
#DE4A75
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #230D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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