#220B41#220B41

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

Color values

HEX#220B41
RGBrgb(34, 11, 65)
HSLhsl(266, 71%, 15%)
HSVhsv(266, 83%, 25%)
CMYKcmyk(47.7%, 83.1%, 0%, 74.5%)
CIE-LABlab(8.66, 25.30, -29.55)
CIE-LCHlch(8.66, 38.90, 310.58°)
OKLaboklab(22.39% 0.044 -0.0845)
OKLCHoklch(22.39% 0.095 297.5)
XYZxyz(1.7332, 0.9610, 5.0942)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B41 #2A410B
analogous
#0B0F41 #220B41 #3D0B41
triadic
#220B41 #41220B #0B4122
tetradic
#220B41 #410B0F #2A410B #0B413D
square
#220B41 #410B0F #2A410B #0B413D
split-complementary
#220B41 #413D0B #0F410B
monochromatic
#0E041A #0E041A #220B41 #3D1475 #591DAA

Accessibility & contrast

On white

17.61
#220B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B41
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B41#FFFFFF#000000##FFFFFF
##220B411.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#1A1925
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220b41;
/* rgb */ color: rgb(34, 11, 65);
/* oklch */ color: oklch(22.4% 0.095 297.5);
Tailwind
colors: {
  custom: {
    50: '#614c76',
    500: '#220b41',
    950: '#000000',
  },
}
SCSS
$custom: #220b41;
$custom-light: #614c76;
$custom-dark: #000000;
JSON
{
  "hex": "#220b41",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 265.556,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22394,
    "c": 0.09525,
    "h": 297.5
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#220B41
secondary
#5A7E2A
accent
#EE3AA1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220B41

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

Preview Lab → · Contrast checker → · Palette generator →

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