#23012F#23012F

#23012F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.091 H 315.6°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#23012F
RGBrgb(35, 1, 47)
HSLhsl(284, 96%, 9%)
HSVhsv(284, 98%, 18%)
CMYKcmyk(25.5%, 97.9%, 0%, 81.6%)
CIE-LABlab(5.28, 25.26, -21.90)
CIE-LCHlch(5.28, 33.43, 319.07°)
OKLaboklab(19.25% 0.0652 -0.0638)
OKLCHoklch(19.25% 0.091 315.6)
XYZxyz(1.2170, 0.5843, 2.7375)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23012F #0D2F01
analogous
#0C012F #23012F #2F0124
triadic
#23012F #2F2301 #012F23
tetradic
#23012F #2F0C01 #0D2F01 #01242F
square
#23012F #2F0C01 #0D2F01 #01242F
split-complementary
#23012F #242F01 #012F0C
monochromatic
#16011E #16011E #23012F #50026B #7C04A7

Accessibility & contrast

On white

18.80
#23012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23012F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23012F#FFFFFF#000000##FFFFFF
##23012F1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#220A18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #23012f;
/* rgb */ color: rgb(35, 1, 47);
/* oklch */ color: oklch(19.2% 0.091 315.6);
Tailwind
colors: {
  custom: {
    50: '#604668',
    500: '#23012f',
    950: '#000000',
  },
}
SCSS
$custom: #23012f;
$custom-light: #604668;
$custom-dark: #000000;
JSON
{
  "hex": "#23012f",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 284.348,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19245,
    "c": 0.09123,
    "h": 315.6
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#23012F
secondary
#2F7517
accent
#FF2961
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23012F

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

Preview Lab → · Contrast checker → · Palette generator →

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