#220F42#220F42

#220F42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.091 H 295.4°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#220F42
RGBrgb(34, 15, 66)
HSLhsl(262, 63%, 16%)
HSVhsv(262, 77%, 26%)
CMYKcmyk(48.5%, 77.3%, 0%, 74.1%)
CIE-LABlab(9.60, 23.26, -28.72)
CIE-LCHlch(9.60, 36.96, 309.00°)
OKLaboklab(23.09% 0.0391 -0.0821)
OKLCHoklch(23.09% 0.091 295.4)
XYZxyz(1.8136, 1.0750, 5.2651)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F42 #2F420F
analogous
#0F1542 #220F42 #3B0F42
triadic
#220F42 #42220F #0F4222
tetradic
#220F42 #420F15 #2F420F #0F423B
square
#220F42 #420F15 #2F420F #0F423B
split-complementary
#220F42 #423B0F #15420F
monochromatic
#0D0619 #0D0619 #220F42 #3C1A74 #5526A6

Accessibility & contrast

On white

17.28
#220F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F42
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F42#FFFFFF#000000##FFFFFF
##220F421.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#191B27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220f42;
/* rgb */ color: rgb(34, 15, 66);
/* oklch */ color: oklch(23.1% 0.091 295.4);
Tailwind
colors: {
  custom: {
    50: '#614f77',
    500: '#220f42',
    950: '#000000',
  },
}
SCSS
$custom: #220f42;
$custom-light: #614f77;
$custom-dark: #000000;
JSON
{
  "hex": "#220f42",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 262.353,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23091,
    "c": 0.09093,
    "h": 295.4
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#220F42
secondary
#607C30
accent
#E642A9
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #220F42

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

Preview Lab → · Contrast checker → · Palette generator →

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