#23012E#23012E

#23012E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.090 H 316.5°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#23012E
RGBrgb(35, 1, 46)
HSLhsl(285, 96%, 9%)
HSVhsv(285, 98%, 18%)
CMYKcmyk(23.9%, 97.8%, 0%, 82%)
CIE-LABlab(5.21, 24.93, -21.27)
CIE-LCHlch(5.21, 32.77, 319.53°)
OKLaboklab(19.15% 0.0655 -0.0621)
OKLCHoklch(19.15% 0.09 316.5)
XYZxyz(1.1971, 0.5763, 2.6324)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012E #0C2E01
analogous
#0D012E #23012E #2E0123
triadic
#23012E #2E2301 #012E23
tetradic
#23012E #2E0D01 #0C2E01 #01232E
square
#23012E #2E0D01 #0C2E01 #01232E
split-complementary
#23012E #232E01 #012E0D
monochromatic
#17011E #17011E #23012E #51026A #7E04A6

Accessibility & contrast

On white

18.83
#23012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#23012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23012E
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012E#FFFFFF#000000##FFFFFF
##23012E1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#01122D
Tritanopia (blue-blind)
#220A17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23012e;
/* rgb */ color: rgb(35, 1, 46);
/* oklch */ color: oklch(19.1% 0.090 316.5);
Tailwind
colors: {
  custom: {
    50: '#604667',
    500: '#23012e',
    950: '#000000',
  },
}
SCSS
$custom: #23012e;
$custom-light: #604667;
$custom-dark: #000000;
JSON
{
  "hex": "#23012e",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 285.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19149,
    "c": 0.09025,
    "h": 316.5
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#23012E
secondary
#2E7417
accent
#FF295D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23012E

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

Preview Lab → · Contrast checker → · Palette generator →

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