#220334#220334

#220334 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.092 H 309.4°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#220334
RGBrgb(34, 3, 52)
HSLhsl(278, 89%, 11%)
HSVhsv(278, 94%, 20%)
CMYKcmyk(34.6%, 94.2%, 0%, 79.6%)
CIE-LABlab(5.90, 25.54, -24.63)
CIE-LCHlch(5.90, 35.48, 316.04°)
OKLaboklab(19.91% 0.0583 -0.0711)
OKLCHoklch(19.91% 0.092 309.4)
XYZxyz(1.3120, 0.6532, 3.3051)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220334 #153403
analogous
#090334 #220334 #34032D
triadic
#220334 #342203 #033422
tetradic
#220334 #340903 #153403 #032D34
square
#220334 #340903 #153403 #032D34
split-complementary
#220334 #2D3403 #033409
monochromatic
#13021D #13021D #220334 #48066E #6E0AA8

Accessibility & contrast

On white

18.57
#220334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220334
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220334#FFFFFF#000000##FFFFFF
##2203341.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#1F0F1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220334;
/* rgb */ color: rgb(34, 3, 52);
/* oklch */ color: oklch(19.9% 0.092 309.4);
Tailwind
colors: {
  custom: {
    50: '#60476c',
    500: '#220334',
    950: '#000000',
  },
}
SCSS
$custom: #220334;
$custom-light: #60476c;
$custom-dark: #000000;
JSON
{
  "hex": "#220334",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 277.959,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19906,
    "c": 0.09193,
    "h": 309.4
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#220334
secondary
#3D771C
accent
#FF2977
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220334

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

Preview Lab → · Contrast checker → · Palette generator →

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