#220B56#220B56

#220B56 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.7% C 0.122 H 287.6°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#220B56
RGBrgb(34, 11, 86)
HSLhsl(258, 77%, 19%)
HSVhsv(258, 87%, 34%)
CMYKcmyk(60.5%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.93, 31.80, -40.41)
CIE-LCHlch(10.93, 51.42, 308.19°)
OKLaboklab(24.67% 0.0369 -0.1163)
OKLCHoklch(24.67% 0.122 287.6)
XYZxyz(2.4586, 1.2512, 8.9142)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B56 #3F560B
analogous
#0B1A56 #220B56 #480B56
triadic
#220B56 #56220B #0B5622
tetradic
#220B56 #560B1A #3F560B #0B5648
square
#220B56 #560B1A #3F560B #0B5648
split-complementary
#220B56 #56480B #1A560B
monochromatic
#0B031B #0D0420 #220B56 #37128C #4D19C3

Accessibility & contrast

On white

16.80
#220B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#220B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B56
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B56#FFFFFF#000000##FFFFFF
##220B561.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#0B2131
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220b56;
/* rgb */ color: rgb(34, 11, 86);
/* oklch */ color: oklch(24.7% 0.122 287.6);
Tailwind
colors: {
  custom: {
    50: '#654e86',
    500: '#220b56',
    950: '#000000',
  },
}
SCSS
$custom: #220b56;
$custom-light: #654e86;
$custom-dark: #000000;
JSON
{
  "hex": "#220b56",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 258.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24667,
    "c": 0.12206,
    "h": 287.6
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#220B56
secondary
#72912B
accent
#F434B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220B56

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

Preview Lab → · Contrast checker → · Palette generator →

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