#23022F#23022F

#23022F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.089 H 315.3°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#23022F
RGBrgb(35, 2, 47)
HSLhsl(284, 92%, 10%)
HSVhsv(284, 96%, 18%)
CMYKcmyk(25.5%, 95.7%, 0%, 81.6%)
CIE-LABlab(5.47, 24.76, -21.59)
CIE-LCHlch(5.47, 32.85, 318.91°)
OKLaboklab(19.42% 0.0633 -0.0626)
OKLCHoklch(19.42% 0.089 315.3)
XYZxyz(1.2279, 0.6060, 2.7411)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23022F #0E2F02
analogous
#0D022F #23022F #2F0225
triadic
#23022F #2F2302 #022F23
tetradic
#23022F #2F0D02 #0E2F02 #02252F
square
#23022F #2F0D02 #0E2F02 #02252F
split-complementary
#23022F #252F02 #022F0D
monochromatic
#16011D #16011D #23022F #4F046A #7A07A4

Accessibility & contrast

On white

18.73
#23022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23022F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23022F#FFFFFF#000000##FFFFFF
##23022F1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23022f;
/* rgb */ color: rgb(35, 2, 47);
/* oklch */ color: oklch(19.4% 0.089 315.3);
Tailwind
colors: {
  custom: {
    50: '#604768',
    500: '#23022f',
    950: '#000000',
  },
}
SCSS
$custom: #23022f;
$custom-light: #604768;
$custom-dark: #000000;
JSON
{
  "hex": "#23022f",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 284,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19423,
    "c": 0.08905,
    "h": 315.3
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#23022F
secondary
#317419
accent
#FF2962
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23022F

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

Preview Lab → · Contrast checker → · Palette generator →

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