#220B4A#220B4A

#220B4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.107 H 292.7°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#220B4A
RGBrgb(34, 11, 74)
HSLhsl(262, 74%, 17%)
HSVhsv(262, 85%, 29%)
CMYKcmyk(54.1%, 85.1%, 0%, 71%)
CIE-LABlab(9.59, 28.07, -34.35)
CIE-LCHlch(9.59, 44.37, 309.26°)
OKLaboklab(23.33% 0.0412 -0.0986)
OKLCHoklch(23.33% 0.107 292.7)
XYZxyz(2.0150, 1.0738, 6.5783)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B4A #334A0B
analogous
#0B144A #220B4A #420B4A
triadic
#220B4A #4A220B #0B4A22
tetradic
#220B4A #4A0B14 #334A0B #0B4A42
square
#220B4A #4A0B14 #334A0B #0B4A42
split-complementary
#220B4A #4A420B #144A0B
monochromatic
#0C041B #0C041B #220B4A #3A137F #531BB5

Accessibility & contrast

On white

17.29
#220B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B4A
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B4A#FFFFFF#000000##FFFFFF
##220B4A1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#151D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220b4a;
/* rgb */ color: rgb(34, 11, 74);
/* oklch */ color: oklch(23.3% 0.107 292.7);
Tailwind
colors: {
  custom: {
    50: '#624d7d',
    500: '#220b4a',
    950: '#000000',
  },
}
SCSS
$custom: #220b4a;
$custom-light: #624d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220b4a",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 261.905,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23332,
    "c": 0.10688,
    "h": 292.7
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#220B4A
secondary
#65862B
accent
#F137AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #220B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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