#23012A#23012A

#23012A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.8% C 0.086 H 320.5°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#23012A
RGBrgb(35, 1, 42)
HSLhsl(290, 95%, 8%)
HSVhsv(290, 98%, 16%)
CMYKcmyk(16.7%, 97.6%, 0%, 83.5%)
CIE-LABlab(4.93, 23.61, -18.68)
CIE-LCHlch(4.93, 30.10, 321.65°)
OKLaboklab(18.78% 0.0667 -0.055)
OKLCHoklch(18.78% 0.086 320.5)
XYZxyz(1.1219, 0.5463, 2.2364)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012A #082A01
analogous
#0E012A #23012A #2A011C
triadic
#23012A #2A2301 #012A23
tetradic
#23012A #2A0E01 #082A01 #011C2A
square
#23012A #2A0E01 #082A01 #011C2A
split-complementary
#23012A #1C2A01 #012A0E
monochromatic
#19011E #19011E #23012A #550266 #8704A2

Accessibility & contrast

On white

18.93
#23012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23012A
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012A#FFFFFF#000000##FFFFFF
##23012A1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#230815
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23012a;
/* rgb */ color: rgb(35, 1, 42);
/* oklch */ color: oklch(18.8% 0.086 320.5);
Tailwind
colors: {
  custom: {
    50: '#5f4664',
    500: '#23012a',
    950: '#000000',
  },
}
SCSS
$custom: #23012a;
$custom-light: #5f4664;
$custom-dark: #000000;
JSON
{
  "hex": "#23012a",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 289.756,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18777,
    "c": 0.08639,
    "h": 320.5
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#23012A
secondary
#267016
accent
#FF294D
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#050005
muted
#797679

Preview Lab

Preview with #23012A

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

Preview Lab → · Contrast checker → · Palette generator →

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