#220B42#220B42

#220B42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.097 H 296.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#220B42
RGBrgb(34, 11, 66)
HSLhsl(265, 71%, 15%)
HSVhsv(265, 83%, 26%)
CMYKcmyk(48.5%, 83.3%, 0%, 74.1%)
CIE-LABlab(8.76, 25.61, -30.09)
CIE-LCHlch(8.76, 39.52, 310.40°)
OKLaboklab(22.5% 0.0437 -0.0861)
OKLCHoklch(22.5% 0.097 296.9)
XYZxyz(1.7625, 0.9727, 5.2481)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B42 #2B420B
analogous
#0B0F42 #220B42 #3E0B42
triadic
#220B42 #42220B #0B4222
tetradic
#220B42 #420B0F #2B420B #0B423E
square
#220B42 #420B0F #2B420B #0B423E
split-complementary
#220B42 #423E0B #0F420B
monochromatic
#0E041A #0E041A #220B42 #3D1476 #581CAB

Accessibility & contrast

On white

17.58
#220B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B42
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B42#FFFFFF#000000##FFFFFF
##220B421.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#1A1926
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220b42;
/* rgb */ color: rgb(34, 11, 66);
/* oklch */ color: oklch(22.5% 0.097 296.9);
Tailwind
colors: {
  custom: {
    50: '#614c77',
    500: '#220b42',
    950: '#000000',
  },
}
SCSS
$custom: #220b42;
$custom-light: #614c77;
$custom-dark: #000000;
JSON
{
  "hex": "#220b42",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 265.091,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22495,
    "c": 0.09656,
    "h": 296.9
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#220B42
secondary
#5B7F2A
accent
#EE3AA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #220B42

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

Preview Lab → · Contrast checker → · Palette generator →

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