#220F36#220F36

#220F36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.074 H 303.3°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#220F36
RGBrgb(34, 15, 54)
HSLhsl(269, 57%, 14%)
HSVhsv(269, 72%, 21%)
CMYKcmyk(37%, 72.2%, 0%, 78.8%)
CIE-LABlab(8.55, 19.49, -21.82)
CIE-LCHlch(8.55, 29.26, 311.76°)
OKLaboklab(22% 0.0406 -0.0618)
OKLCHoklch(22% 0.074 303.3)
XYZxyz(1.4962, 0.9481, 3.5935)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F36 #23360F
analogous
#0F0F36 #220F36 #350F36
triadic
#220F36 #36220F #0F3622
tetradic
#220F36 #360F0F #23360F #0F3635
square
#220F36 #360F0F #23360F #0F3635
split-complementary
#220F36 #36350F #0F360F
monochromatic
#0F0718 #0F0718 #220F36 #401C66 #5E2A96

Accessibility & contrast

On white

17.65
#220F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F36
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F36#FFFFFF#000000##FFFFFF
##220F361.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#051935
Tritanopia (blue-blind)
#1E1720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220f36;
/* rgb */ color: rgb(34, 15, 54);
/* oklch */ color: oklch(22.0% 0.074 303.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e6d',
    500: '#220f36',
    950: '#000000',
  },
}
SCSS
$custom: #220f36;
$custom-light: #5f4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220f36",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 269.231,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22003,
    "c": 0.07395,
    "h": 303.3
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#220F36
secondary
#517031
accent
#E04896
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220F36

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

Preview Lab → · Contrast checker → · Palette generator →

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