#230B2D#230B2D

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

Color values

HEX#230B2D
RGBrgb(35, 11, 45)
HSLhsl(282, 61%, 11%)
HSVhsv(282, 76%, 18%)
CMYKcmyk(22.2%, 75.6%, 0%, 82.4%)
CIE-LABlab(7.10, 19.58, -17.51)
CIE-LCHlch(7.10, 26.27, 318.19°)
OKLaboklab(20.73% 0.0487 -0.0493)
OKLCHoklch(20.73% 0.069 314.6)
XYZxyz(1.2864, 0.7862, 2.5661)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B2D #152D0B
analogous
#120B2D #230B2D #2D0B26
triadic
#230B2D #2D230B #0B2D23
tetradic
#230B2D #2D120B #152D0B #0B262D
square
#230B2D #2D120B #152D0B #0B262D
split-complementary
#230B2D #262D0B #0B2D12
monochromatic
#130619 #130619 #230B2D #49175E #6F238F

Accessibility & contrast

On white

18.15
#230B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B2D
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B2D#FFFFFF#000000##FFFFFF
##230B2D1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#0A162C
Tritanopia (blue-blind)
#22111A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230b2d;
/* rgb */ color: rgb(35, 11, 45);
/* oklch */ color: oklch(20.7% 0.069 314.6);
Tailwind
colors: {
  custom: {
    50: '#5f4b66',
    500: '#230b2d',
    950: '#000000',
  },
}
SCSS
$custom: #230b2d;
$custom-light: #5f4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#230b2d",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 282.353,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20733,
    "c": 0.06926,
    "h": 314.6
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#230B2D
secondary
#3D692A
accent
#E44473
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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