#23052C#23052C

#23052C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.080 H 317.4°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#23052C
RGBrgb(35, 5, 44)
HSLhsl(286, 80%, 10%)
HSVhsv(286, 89%, 17%)
CMYKcmyk(20.5%, 88.6%, 0%, 82.7%)
CIE-LABlab(5.85, 22.30, -18.74)
CIE-LCHlch(5.85, 29.13, 319.96°)
OKLaboklab(19.67% 0.0585 -0.0538)
OKLCHoklch(19.67% 0.08 317.4)
XYZxyz(1.2020, 0.6478, 2.4441)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23052C #0E2C05
analogous
#10052C #23052C #2C0522
triadic
#23052C #2C2305 #052C23
tetradic
#23052C #2C1005 #0E2C05 #05222C
square
#23052C #2C1005 #0E2C05 #05222C
split-complementary
#23052C #222C05 #052C10
monochromatic
#16031B #16031B #23052C #4F0B63 #7A119A

Accessibility & contrast

On white

18.59
#23052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#23052C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23052C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23052C#FFFFFF#000000##FFFFFF
##23052C1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#230C17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #23052c;
/* rgb */ color: rgb(35, 5, 44);
/* oklch */ color: oklch(19.7% 0.080 317.4);
Tailwind
colors: {
  custom: {
    50: '#5f4865',
    500: '#23052c',
    950: '#000000',
  },
}
SCSS
$custom: #23052c;
$custom-light: #5f4865;
$custom-dark: #000000;
JSON
{
  "hex": "#23052c",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 286.154,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.0795,
    "h": 317.4
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#23052C
secondary
#316E1F
accent
#F6325F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #23052C

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

Preview Lab → · Contrast checker → · Palette generator →

#23052C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva