#23012C#23012C

#23012C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.088 H 318.5°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#23012C
RGBrgb(35, 1, 44)
HSLhsl(287, 96%, 9%)
HSVhsv(287, 98%, 17%)
CMYKcmyk(20.5%, 97.7%, 0%, 82.7%)
CIE-LABlab(5.07, 24.26, -19.98)
CIE-LCHlch(5.07, 31.43, 320.52°)
OKLaboklab(18.96% 0.0661 -0.0585)
OKLCHoklch(18.96% 0.088 318.5)
XYZxyz(1.1585, 0.5609, 2.4296)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012C #0A2C01
analogous
#0E012C #23012C #2C0120
triadic
#23012C #2C2301 #012C23
tetradic
#23012C #2C0E01 #0A2C01 #01202C
square
#23012C #2C0E01 #0A2C01 #01202C
split-complementary
#23012C #202C01 #012C0E
monochromatic
#18011E #18011E #23012C #530268 #8204A4

Accessibility & contrast

On white

18.88
#23012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23012C
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012C#FFFFFF#000000##FFFFFF
##23012C1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#230916
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23012c;
/* rgb */ color: rgb(35, 1, 44);
/* oklch */ color: oklch(19.0% 0.088 318.5);
Tailwind
colors: {
  custom: {
    50: '#5f4665',
    500: '#23012c',
    950: '#000000',
  },
}
SCSS
$custom: #23012c;
$custom-light: #5f4665;
$custom-dark: #000000;
JSON
{
  "hex": "#23012c",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 287.442,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18961,
    "c": 0.08831,
    "h": 318.5
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#23012C
secondary
#2A7217
accent
#FF2956
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#050005
muted
#79767A

Preview Lab

Preview with #23012C

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

Preview Lab → · Contrast checker → · Palette generator →

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