#23012D#23012D

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

Color values

HEX#23012D
RGBrgb(35, 1, 45)
HSLhsl(286, 96%, 9%)
HSVhsv(286, 98%, 18%)
CMYKcmyk(22.2%, 97.8%, 0%, 82.4%)
CIE-LABlab(5.14, 24.59, -20.63)
CIE-LCHlch(5.14, 32.10, 320.01°)
OKLaboklab(19.05% 0.0658 -0.0603)
OKLCHoklch(19.05% 0.089 317.5)
XYZxyz(1.1776, 0.5686, 2.5298)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012D #0B2D01
analogous
#0D012D #23012D #2D0121
triadic
#23012D #2D2301 #012D23
tetradic
#23012D #2D0D01 #0B2D01 #01212D
square
#23012D #2D0D01 #0B2D01 #01212D
split-complementary
#23012D #212D01 #012D0D
monochromatic
#17011E #17011E #23012D #520269 #8004A5

Accessibility & contrast

On white

18.86
#23012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23012D
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012D#FFFFFF#000000##FFFFFF
##23012D1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#220916
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23012d;
/* rgb */ color: rgb(35, 1, 45);
/* oklch */ color: oklch(19.1% 0.089 317.5);
Tailwind
colors: {
  custom: {
    50: '#604666',
    500: '#23012d',
    950: '#000000',
  },
}
SCSS
$custom: #23012d;
$custom-light: #604666;
$custom-dark: #000000;
JSON
{
  "hex": "#23012d",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 286.364,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19054,
    "c": 0.08929,
    "h": 317.5
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#23012D
secondary
#2C7317
accent
#FF2959
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23012D

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

Preview Lab → · Contrast checker → · Palette generator →

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