#220232#220232

#220232 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.092 H 311.4°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#220232
RGBrgb(34, 2, 50)
HSLhsl(280, 92%, 10%)
HSVhsv(280, 96%, 20%)
CMYKcmyk(32%, 96%, 0%, 80.4%)
CIE-LABlab(5.54, 25.38, -23.72)
CIE-LCHlch(5.54, 34.74, 316.93°)
OKLaboklab(19.54% 0.0607 -0.0688)
OKLCHoklch(19.54% 0.092 311.4)
XYZxyz(1.2570, 0.6138, 3.0693)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220232 #123202
analogous
#0A0232 #220232 #32022A
triadic
#220232 #322202 #023222
tetradic
#220232 #320A02 #123202 #022A32
square
#220232 #320A02 #123202 #022A32
split-complementary
#220232 #2A3202 #02320A
monochromatic
#14011D #14011D #220232 #4A046D #7207A8

Accessibility & contrast

On white

18.70
#220232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220232
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220232#FFFFFF#000000##FFFFFF
##2202321.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#200D1A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220232;
/* rgb */ color: rgb(34, 2, 50);
/* oklch */ color: oklch(19.5% 0.092 311.4);
Tailwind
colors: {
  custom: {
    50: '#5f476a',
    500: '#220232',
    950: '#000000',
  },
}
SCSS
$custom: #220232;
$custom-light: #5f476a;
$custom-dark: #000000;
JSON
{
  "hex": "#220232",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 280,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19536,
    "c": 0.09177,
    "h": 311.4
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#220232
secondary
#387619
accent
#FF2970
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220232

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

Preview Lab → · Contrast checker → · Palette generator →

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