#220F3A#220F3A

#220F3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.080 H 300.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#220F3A
RGBrgb(34, 15, 58)
HSLhsl(267, 59%, 14%)
HSVhsv(267, 74%, 23%)
CMYKcmyk(41.4%, 74.1%, 0%, 77.3%)
CIE-LABlab(8.88, 20.72, -24.18)
CIE-LCHlch(8.88, 31.84, 310.60°)
OKLaboklab(22.35% 0.0403 -0.0687)
OKLCHoklch(22.35% 0.08 300.3)
XYZxyz(1.5940, 0.9872, 4.1087)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3A #273A0F
analogous
#0F123A #220F3A #380F3A
triadic
#220F3A #3A220F #0F3A22
tetradic
#220F3A #3A0F12 #273A0F #0F3A38
square
#220F3A #3A0F12 #273A0F #0F3A38
split-complementary
#220F3A #3A380F #123A0F
monochromatic
#0E0618 #0E0618 #220F3A #3F1C6B #5B289B

Accessibility & contrast

On white

17.54
#220F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F3A
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3A#FFFFFF#000000##FFFFFF
##220F3A1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#1D1922
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220f3a;
/* rgb */ color: rgb(34, 15, 58);
/* oklch */ color: oklch(22.4% 0.080 300.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e70',
    500: '#220f3a',
    950: '#000000',
  },
}
SCSS
$custom: #220f3a;
$custom-light: #5f4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3a",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 266.512,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2235,
    "c": 0.07967,
    "h": 300.3
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#220F3A
secondary
#567430
accent
#E2469D
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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