#23022A#23022A

#23022A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.084 H 320.2°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#23022A
RGBrgb(35, 2, 42)
HSLhsl(290, 91%, 9%)
HSVhsv(290, 95%, 16%)
CMYKcmyk(16.7%, 95.2%, 0%, 83.5%)
CIE-LABlab(5.13, 23.13, -18.37)
CIE-LCHlch(5.13, 29.53, 321.54°)
OKLaboklab(18.96% 0.0646 -0.0537)
OKLCHoklch(18.96% 0.084 320.2)
XYZxyz(1.1327, 0.5680, 2.2400)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23022A #092A02
analogous
#0F022A #23022A #2A021D
triadic
#23022A #2A2302 #022A23
tetradic
#23022A #2A0F02 #092A02 #021D2A
square
#23022A #2A0F02 #092A02 #021D2A
split-complementary
#23022A #1D2A02 #022A0F
monochromatic
#18011D #18011D #23022A #540564 #84089F

Accessibility & contrast

On white

18.86
#23022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#23022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23022A
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23022A#FFFFFF#000000##FFFFFF
##23022A1.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)
#000F2B
Deuteranopia (green-blind)
#051229
Tritanopia (blue-blind)
#230915
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #23022a;
/* rgb */ color: rgb(35, 2, 42);
/* oklch */ color: oklch(19.0% 0.084 320.2);
Tailwind
colors: {
  custom: {
    50: '#5f4764',
    500: '#23022a',
    950: '#000000',
  },
}
SCSS
$custom: #23022a;
$custom-light: #5f4764;
$custom-dark: #000000;
JSON
{
  "hex": "#23022a",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 289.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18964,
    "c": 0.084,
    "h": 320.2
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#23022A
secondary
#286F19
accent
#FF294E
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #23022A

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

Preview Lab → · Contrast checker → · Palette generator →

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