#220333#220333

#220333 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.091 H 310.2°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#220333
RGBrgb(34, 3, 51)
HSLhsl(279, 89%, 11%)
HSVhsv(279, 94%, 20%)
CMYKcmyk(33.3%, 94.1%, 0%, 80%)
CIE-LABlab(5.82, 25.21, -24.02)
CIE-LCHlch(5.82, 34.82, 316.38°)
OKLaboklab(19.81% 0.0587 -0.0694)
OKLCHoklch(19.81% 0.091 310.2)
XYZxyz(1.2897, 0.6443, 3.1877)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220333 #143303
analogous
#0A0333 #220333 #33032C
triadic
#220333 #332203 #033322
tetradic
#220333 #330A03 #143303 #032C33
square
#220333 #330A03 #143303 #032C33
split-complementary
#220333 #2C3303 #03330A
monochromatic
#13021D #13021D #220333 #49066D #6F0AA7

Accessibility & contrast

On white

18.60
#220333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220333
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220333#FFFFFF#000000##FFFFFF
##2203331.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#200E1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220333;
/* rgb */ color: rgb(34, 3, 51);
/* oklch */ color: oklch(19.8% 0.091 310.2);
Tailwind
colors: {
  custom: {
    50: '#5f476b',
    500: '#220333',
    950: '#000000',
  },
}
SCSS
$custom: #220333;
$custom-light: #5f476b;
$custom-dark: #000000;
JSON
{
  "hex": "#220333",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 278.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19807,
    "c": 0.09084,
    "h": 310.2
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#220333
secondary
#3C761C
accent
#FF2975
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220333

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

Preview Lab → · Contrast checker → · Palette generator →

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