#230C2D#230C2D

#230C2D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.067 H 314.3°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#230C2D
RGBrgb(35, 12, 45)
HSLhsl(282, 58%, 11%)
HSVhsv(282, 73%, 18%)
CMYKcmyk(22.2%, 73.3%, 0%, 82.4%)
CIE-LABlab(7.31, 19.02, -17.17)
CIE-LCHlch(7.31, 25.63, 317.93°)
OKLaboklab(20.9% 0.0471 -0.0482)
OKLCHoklch(20.9% 0.067 314.3)
XYZxyz(1.2982, 0.8098, 2.5700)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C2D #162D0C
analogous
#120C2D #230C2D #2D0C26
triadic
#230C2D #2D230C #0C2D23
tetradic
#230C2D #2D120C #162D0C #0C262D
square
#230C2D #2D120C #162D0C #0C262D
split-complementary
#230C2D #262D0C #0C2D12
monochromatic
#130618 #130618 #230C2D #49195D #6E268E

Accessibility & contrast

On white

18.07
#230C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C2D
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C2D#FFFFFF#000000##FFFFFF
##230C2D1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#22121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230c2d;
/* rgb */ color: rgb(35, 12, 45);
/* oklch */ color: oklch(20.9% 0.067 314.3);
Tailwind
colors: {
  custom: {
    50: '#5f4c66',
    500: '#230c2d',
    950: '#000000',
  },
}
SCSS
$custom: #230c2d;
$custom-light: #5f4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#230c2d",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 281.818,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20899,
    "c": 0.06739,
    "h": 314.3
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#230C2D
secondary
#3F692C
accent
#E14775
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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