#220F39#220F39

#220F39 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.078 H 301.0°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#220F39
RGBrgb(34, 15, 57)
HSLhsl(267, 58%, 14%)
HSVhsv(267, 74%, 22%)
CMYKcmyk(40.4%, 73.7%, 0%, 77.6%)
CIE-LABlab(8.80, 20.41, -23.60)
CIE-LCHlch(8.80, 31.20, 310.87°)
OKLaboklab(22.26% 0.0403 -0.067)
OKLCHoklch(22.26% 0.078 301)
XYZxyz(1.5689, 0.9771, 3.9761)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F39 #26390F
analogous
#0F1139 #220F39 #370F39
triadic
#220F39 #39220F #0F3922
tetradic
#220F39 #390F11 #26390F #0F3937
square
#220F39 #390F11 #26390F #0F3937
split-complementary
#220F39 #39370F #11390F
monochromatic
#0E0618 #0E0618 #220F39 #3F1C69 #5C299A

Accessibility & contrast

On white

17.57
#220F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F39
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F39#FFFFFF#000000##FFFFFF
##220F391.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#021938
Tritanopia (blue-blind)
#1D1822
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220f39;
/* rgb */ color: rgb(34, 15, 57);
/* oklch */ color: oklch(22.3% 0.078 301.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e70',
    500: '#220f39',
    950: '#000000',
  },
}
SCSS
$custom: #220f39;
$custom-light: #5f4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#220f39",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 267.143,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22262,
    "c": 0.07824,
    "h": 301
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#220F39
secondary
#557330
accent
#E2469B
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220F39

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

Preview Lab → · Contrast checker → · Palette generator →

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