#220F41#220F41

#220F41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.090 H 296.0°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#220F41
RGBrgb(34, 15, 65)
HSLhsl(263, 63%, 16%)
HSVhsv(263, 77%, 25%)
CMYKcmyk(47.7%, 76.9%, 0%, 74.5%)
CIE-LABlab(9.51, 22.94, -28.17)
CIE-LCHlch(9.51, 36.33, 309.16°)
OKLaboklab(23% 0.0393 -0.0805)
OKLCHoklch(23% 0.09 296)
XYZxyz(1.7844, 1.0633, 5.1112)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F41 #2E410F
analogous
#0F1541 #220F41 #3B0F41
triadic
#220F41 #41220F #0F4122
tetradic
#220F41 #410F15 #2E410F #0F413B
square
#220F41 #410F15 #2E410F #0F413B
split-complementary
#220F41 #413B0F #15410F
monochromatic
#0D0619 #0D0619 #220F41 #3C1A73 #5626A4

Accessibility & contrast

On white

17.32
#220F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F41
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F41#FFFFFF#000000##FFFFFF
##220F411.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#1A1B26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220f41;
/* rgb */ color: rgb(34, 15, 65);
/* oklch */ color: oklch(23.0% 0.090 296.0);
Tailwind
colors: {
  custom: {
    50: '#614f76',
    500: '#220f41',
    950: '#000000',
  },
}
SCSS
$custom: #220f41;
$custom-light: #614f76;
$custom-dark: #000000;
JSON
{
  "hex": "#220f41",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 262.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22996,
    "c": 0.08954,
    "h": 296
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#220F41
secondary
#5F7B30
accent
#E642A7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #220F41

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

Preview Lab → · Contrast checker → · Palette generator →

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