#220332#220332

#220332 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.090 H 311.1°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#220332
RGBrgb(34, 3, 50)
HSLhsl(280, 89%, 10%)
HSVhsv(280, 94%, 20%)
CMYKcmyk(32%, 94%, 0%, 80.4%)
CIE-LABlab(5.74, 24.87, -23.41)
CIE-LCHlch(5.74, 34.16, 316.74°)
OKLaboklab(19.71% 0.059 -0.0677)
OKLCHoklch(19.71% 0.09 311.1)
XYZxyz(1.2679, 0.6355, 3.0729)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220332 #133203
analogous
#0A0332 #220332 #32032A
triadic
#220332 #322203 #033222
tetradic
#220332 #320A03 #133203 #032A32
square
#220332 #320A03 #133203 #032A32
split-complementary
#220332 #2A3203 #03320A
monochromatic
#14021D #14021D #220332 #49066C #710AA5

Accessibility & contrast

On white

18.63
#220332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220332
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220332#FFFFFF#000000##FFFFFF
##2203321.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220332;
/* rgb */ color: rgb(34, 3, 50);
/* oklch */ color: oklch(19.7% 0.090 311.1);
Tailwind
colors: {
  custom: {
    50: '#5f476a',
    500: '#220332',
    950: '#000000',
  },
}
SCSS
$custom: #220332;
$custom-light: #5f476a;
$custom-dark: #000000;
JSON
{
  "hex": "#220332",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 279.574,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19708,
    "c": 0.08977,
    "h": 311.1
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#220332
secondary
#3A751B
accent
#FF2972
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220332

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

Preview Lab → · Contrast checker → · Palette generator →

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