#230B2C#230B2C

#230B2C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.068 H 315.7°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#230B2C
RGBrgb(35, 11, 44)
HSLhsl(284, 60%, 11%)
HSVhsv(284, 75%, 17%)
CMYKcmyk(20.5%, 75%, 0%, 82.7%)
CIE-LABlab(7.03, 19.29, -16.87)
CIE-LCHlch(7.03, 25.63, 318.82°)
OKLaboklab(20.65% 0.0487 -0.0475)
OKLCHoklch(20.65% 0.068 315.7)
XYZxyz(1.2674, 0.7786, 2.4659)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B2C #142C0B
analogous
#120B2C #230B2C #2C0B24
triadic
#230B2C #2C230B #0B2C23
tetradic
#230B2C #2C120B #142C0B #0B242C
square
#230B2C #2C120B #142C0B #0B242C
split-complementary
#230B2C #242C0B #0B2C12
monochromatic
#130618 #130618 #230B2C #4A175D #71238E

Accessibility & contrast

On white

18.17
#230B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B2C
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B2C#FFFFFF#000000##FFFFFF
##230B2C1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#0B162B
Tritanopia (blue-blind)
#22111A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230b2c;
/* rgb */ color: rgb(35, 11, 44);
/* oklch */ color: oklch(20.7% 0.068 315.7);
Tailwind
colors: {
  custom: {
    50: '#5f4b65',
    500: '#230b2c',
    950: '#000000',
  },
}
SCSS
$custom: #230b2c;
$custom-light: #5f4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#230b2c",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 283.636,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.06797,
    "h": 315.7
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#230B2C
secondary
#3B682B
accent
#E34570
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #230B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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