#220E34#220E34

#220E34 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.073 H 305.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#220E34
RGBrgb(34, 14, 52)
HSLhsl(272, 58%, 13%)
HSVhsv(272, 73%, 20%)
CMYKcmyk(34.6%, 73.1%, 0%, 79.6%)
CIE-LABlab(8.15, 19.53, -21.01)
CIE-LCHlch(8.15, 28.69, 312.91°)
OKLaboklab(21.66% 0.0422 -0.0594)
OKLCHoklch(21.66% 0.073 305.4)
XYZxyz(1.4364, 0.9021, 3.3466)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E34 #20340E
analogous
#0F0E34 #220E34 #340E33
triadic
#220E34 #34220E #0E3422
tetradic
#220E34 #340F0E #20340E #0E3334
square
#220E34 #340F0E #20340E #0E3334
split-complementary
#220E34 #33340E #0E340F
monochromatic
#100618 #100618 #220E34 #421B64 #612894

Accessibility & contrast

On white

17.79
#220E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E34
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E34#FFFFFF#000000##FFFFFF
##220E341.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#061833
Tritanopia (blue-blind)
#1F161F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220e34;
/* rgb */ color: rgb(34, 14, 52);
/* oklch */ color: oklch(21.7% 0.073 305.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d6c',
    500: '#220e34',
    950: '#000000',
  },
}
SCSS
$custom: #220e34;
$custom-light: #5f4d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220e34",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 271.579,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21658,
    "c": 0.07289,
    "h": 305.4
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#220E34
secondary
#4D6F2F
accent
#E14790
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220E34

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

Preview Lab → · Contrast checker → · Palette generator →

#220E34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva