#23012B#23012B

#23012B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.9% C 0.087 H 319.5°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#23012B
RGBrgb(35, 1, 43)
HSLhsl(289, 95%, 9%)
HSVhsv(289, 98%, 17%)
CMYKcmyk(18.6%, 97.7%, 0%, 83.1%)
CIE-LABlab(5.00, 23.94, -19.33)
CIE-LCHlch(5.00, 30.77, 321.07°)
OKLaboklab(18.87% 0.0664 -0.0568)
OKLCHoklch(18.87% 0.087 319.5)
XYZxyz(1.1400, 0.5535, 2.3318)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012B #092B01
analogous
#0E012B #23012B #2B011E
triadic
#23012B #2B2301 #012B23
tetradic
#23012B #2B0E01 #092B01 #011E2B
square
#23012B #2B0E01 #092B01 #011E2B
split-complementary
#23012B #1E2B01 #012B0E
monochromatic
#18011E #18011E #23012B #540267 #8404A3

Accessibility & contrast

On white

18.91
#23012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#23012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23012B
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012B#FFFFFF#000000##FFFFFF
##23012B1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#03122A
Tritanopia (blue-blind)
#230815
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23012b;
/* rgb */ color: rgb(35, 1, 43);
/* oklch */ color: oklch(18.9% 0.087 319.5);
Tailwind
colors: {
  custom: {
    50: '#5f4664',
    500: '#23012b',
    950: '#000000',
  },
}
SCSS
$custom: #23012b;
$custom-light: #5f4664;
$custom-dark: #000000;
JSON
{
  "hex": "#23012b",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 288.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18868,
    "c": 0.08735,
    "h": 319.5
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#23012B
secondary
#287117
accent
#FF2952
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#050005
muted
#79767A

Preview Lab

Preview with #23012B

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

Preview Lab → · Contrast checker → · Palette generator →

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