#23052B#23052B

#23052B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.078 H 318.4°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#23052B
RGBrgb(35, 5, 43)
HSLhsl(287, 79%, 9%)
HSVhsv(287, 88%, 17%)
CMYKcmyk(18.6%, 88.4%, 0%, 83.1%)
CIE-LABlab(5.78, 21.99, -18.10)
CIE-LCHlch(5.78, 28.48, 320.55°)
OKLaboklab(19.59% 0.0587 -0.052)
OKLCHoklch(19.59% 0.078 318.4)
XYZxyz(1.1834, 0.6403, 2.3463)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23052B #0D2B05
analogous
#10052B #23052B #2B0520
triadic
#23052B #2B2305 #052B23
tetradic
#23052B #2B1005 #0D2B05 #05202B
square
#23052B #2B1005 #0D2B05 #05202B
split-complementary
#23052B #202B05 #052B10
monochromatic
#16031B #16031B #23052B #500B62 #7C1299

Accessibility & contrast

On white

18.62
#23052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23052B
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23052B#FFFFFF#000000##FFFFFF
##23052B1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23052b;
/* rgb */ color: rgb(35, 5, 43);
/* oklch */ color: oklch(19.6% 0.078 318.4);
Tailwind
colors: {
  custom: {
    50: '#5f4864',
    500: '#23052b',
    950: '#000000',
  },
}
SCSS
$custom: #23052b;
$custom-light: #5f4864;
$custom-dark: #000000;
JSON
{
  "hex": "#23052b",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 287.368,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19587,
    "c": 0.07838,
    "h": 318.4
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#23052B
secondary
#2F6D1F
accent
#F6325B
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #23052B

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

Preview Lab → · Contrast checker → · Palette generator →

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