#220229#220229

#220229 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.7% C 0.083 H 320.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#220229
RGBrgb(34, 2, 41)
HSLhsl(289, 91%, 8%)
HSVhsv(289, 95%, 16%)
CMYKcmyk(17.1%, 95.1%, 0%, 83.9%)
CIE-LABlab(4.91, 22.33, -17.97)
CIE-LCHlch(4.91, 28.66, 321.18°)
OKLaboklab(18.68% 0.0633 -0.053)
OKLCHoklch(18.68% 0.083 320.1)
XYZxyz(1.0816, 0.5437, 2.1454)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220229 #092902
analogous
#0E0229 #220229 #29021C
triadic
#220229 #292202 #022922
tetradic
#220229 #290E02 #092902 #021C29
square
#220229 #290E02 #092902 #021C29
split-complementary
#220229 #1C2902 #02290E
monochromatic
#18011D #18011D #220229 #520563 #83089E

Accessibility & contrast

On white

18.94
#220229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#220229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220229
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220229#FFFFFF#000000##FFFFFF
##2202291.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#041228
Tritanopia (blue-blind)
#220914
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #220229;
/* rgb */ color: rgb(34, 2, 41);
/* oklch */ color: oklch(18.7% 0.083 320.1);
Tailwind
colors: {
  custom: {
    50: '#5e4763',
    500: '#220229',
    950: '#000000',
  },
}
SCSS
$custom: #220229;
$custom-light: #5e4763;
$custom-dark: #000000;
JSON
{
  "hex": "#220229",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 289.231,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18685,
    "c": 0.08254,
    "h": 320.1
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#220229
secondary
#286E19
accent
#FF294F
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #220229

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

Preview Lab → · Contrast checker → · Palette generator →

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