#220F3B#220F3B

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

Color values

HEX#220F3B
RGBrgb(34, 15, 59)
HSLhsl(266, 59%, 15%)
HSVhsv(266, 75%, 23%)
CMYKcmyk(42.4%, 74.6%, 0%, 76.9%)
CIE-LABlab(8.97, 21.04, -24.76)
CIE-LCHlch(8.97, 32.49, 310.35°)
OKLaboklab(22.44% 0.0402 -0.0704)
OKLCHoklch(22.44% 0.081 299.7)
XYZxyz(1.6197, 0.9975, 4.2440)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3B #283B0F
analogous
#0F123B #220F3B #380F3B
triadic
#220F3B #3B220F #0F3B22
tetradic
#220F3B #3B0F12 #283B0F #0F3B38
square
#220F3B #3B0F12 #283B0F #0F3B38
split-complementary
#220F3B #3B380F #123B0F
monochromatic
#0E0618 #0E0618 #220F3B #3E1B6C #5A289D

Accessibility & contrast

On white

17.51
#220F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F3B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3B#FFFFFF#000000##FFFFFF
##220F3B1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220f3b;
/* rgb */ color: rgb(34, 15, 59);
/* oklch */ color: oklch(22.4% 0.081 299.7);
Tailwind
colors: {
  custom: {
    50: '#604e71',
    500: '#220f3b',
    950: '#000000',
  },
}
SCSS
$custom: #220f3b;
$custom-light: #604e71;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3b",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 265.909,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22439,
    "c": 0.08109,
    "h": 299.7
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#220F3B
secondary
#587530
accent
#E3459F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #220F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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