#23102B#23102B

#23102B is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.5% C 0.057 H 315.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#23102B
RGBrgb(35, 16, 43)
HSLhsl(282, 46%, 12%)
HSVhsv(282, 63%, 17%)
CMYKcmyk(18.6%, 62.8%, 0%, 83.1%)
CIE-LABlab(8.15, 15.92, -14.36)
CIE-LCHlch(8.15, 21.44, 317.95°)
OKLaboklab(21.48% 0.04 -0.04)
OKLCHoklch(21.48% 0.057 315.1)
XYZxyz(1.3144, 0.9024, 2.3900)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23102B #182B10
analogous
#16102B #23102B #2B1026
triadic
#23102B #2B2310 #102B23
tetradic
#23102B #2B1610 #182B10 #10262B
square
#23102B #2B1610 #182B10 #10262B
split-complementary
#23102B #262B10 #102B16
monochromatic
#120816 #120816 #23102B #472158 #6C3184

Accessibility & contrast

On white

17.79
#23102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#23102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23102B
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23102B#FFFFFF#000000##FFFFFF
##23102B1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#10182A
Tritanopia (blue-blind)
#22141B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #23102b;
/* rgb */ color: rgb(35, 16, 43);
/* oklch */ color: oklch(21.5% 0.057 315.1);
Tailwind
colors: {
  custom: {
    50: '#5f4f64',
    500: '#23102b',
    950: '#000000',
  },
}
SCSS
$custom: #23102b;
$custom-light: #5f4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#23102b",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 282.222,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21482,
    "c": 0.05658,
    "h": 315.1
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#23102B
secondary
#426433
accent
#D55279
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #23102B

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

Preview Lab → · Contrast checker → · Palette generator →

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