#220230#220230

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

Color values

HEX#220230
RGBrgb(34, 2, 48)
HSLhsl(282, 92%, 10%)
HSVhsv(282, 96%, 19%)
CMYKcmyk(29.2%, 95.8%, 0%, 81.2%)
CIE-LABlab(5.39, 24.70, -22.48)
CIE-LCHlch(5.39, 33.40, 317.69°)
OKLaboklab(19.34% 0.0614 -0.0654)
OKLCHoklch(19.34% 0.09 313.2)
XYZxyz(1.2148, 0.5969, 2.8470)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220230 #103002
analogous
#0B0230 #220230 #300227
triadic
#220230 #302202 #023022
tetradic
#220230 #300B02 #103002 #022730
square
#220230 #300B02 #103002 #022730
split-complementary
#220230 #273002 #02300B
monochromatic
#15011D #15011D #220230 #4C046B #7507A6

Accessibility & contrast

On white

18.76
#220230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#220230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##220230#FFFFFF#000000##FFFFFF
##2202301.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)
#001031
Deuteranopia (green-blind)
#00132F
Tritanopia (blue-blind)
#200C19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220230;
/* rgb */ color: rgb(34, 2, 48);
/* oklch */ color: oklch(19.3% 0.090 313.2);
Tailwind
colors: {
  custom: {
    50: '#5f4769',
    500: '#220230',
    950: '#000000',
  },
}
SCSS
$custom: #220230;
$custom-light: #5f4769;
$custom-dark: #000000;
JSON
{
  "hex": "#220230",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 281.739,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19339,
    "c": 0.08969,
    "h": 313.2
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#220230
secondary
#357519
accent
#FF296A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220230

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

Preview Lab → · Contrast checker → · Palette generator →

#220230 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva