#23022E#23022E

#23022E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.088 H 316.2°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#23022E
RGBrgb(35, 2, 46)
HSLhsl(285, 92%, 9%)
HSVhsv(285, 96%, 18%)
CMYKcmyk(23.9%, 95.7%, 0%, 82%)
CIE-LABlab(5.40, 24.43, -20.96)
CIE-LCHlch(5.40, 32.19, 319.38°)
OKLaboklab(19.33% 0.0636 -0.0609)
OKLCHoklch(19.33% 0.088 316.2)
XYZxyz(1.2079, 0.5980, 2.6360)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23022E #0D2E02
analogous
#0D022E #23022E #2E0223
triadic
#23022E #2E2302 #022E23
tetradic
#23022E #2E0D02 #0D2E02 #02232E
square
#23022E #2E0D02 #0D2E02 #02232E
split-complementary
#23022E #232E02 #022E0D
monochromatic
#16011D #16011D #23022E #500569 #7C07A3

Accessibility & contrast

On white

18.76
#23022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23022E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23022E#FFFFFF#000000##FFFFFF
##23022E1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#02132D
Tritanopia (blue-blind)
#220B17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #23022e;
/* rgb */ color: rgb(35, 2, 46);
/* oklch */ color: oklch(19.3% 0.088 316.2);
Tailwind
colors: {
  custom: {
    50: '#604767',
    500: '#23022e',
    950: '#000000',
  },
}
SCSS
$custom: #23022e;
$custom-light: #604767;
$custom-dark: #000000;
JSON
{
  "hex": "#23022e",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 285,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19329,
    "c": 0.08803,
    "h": 316.2
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#23022E
secondary
#2F7319
accent
#FF295E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23022E

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

Preview Lab → · Contrast checker → · Palette generator →

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