#220B4E#220B4E

#220B4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.112 H 290.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#220B4E
RGBrgb(34, 11, 78)
HSLhsl(261, 75%, 17%)
HSVhsv(261, 86%, 31%)
CMYKcmyk(56.4%, 85.9%, 0%, 69.4%)
CIE-LABlab(10.03, 29.32, -36.42)
CIE-LCHlch(10.03, 46.75, 308.83°)
OKLaboklab(23.77% 0.0399 -0.1046)
OKLCHoklch(23.77% 0.112 290.9)
XYZxyz(2.1541, 1.1294, 7.3107)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B4E #374E0B
analogous
#0B164E #220B4E #440B4E
triadic
#220B4E #4E220B #0B4E22
tetradic
#220B4E #4E0B16 #374E0B #0B4E44
square
#220B4E #4E0B16 #374E0B #0B4E44
split-complementary
#220B4E #4E440B #164E0B
monochromatic
#0C041B #0C041B #220B4E #391384 #511AB9

Accessibility & contrast

On white

17.13
#220B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#220B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B4E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B4E#FFFFFF#000000##FFFFFF
##220B4E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#121E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220b4e;
/* rgb */ color: rgb(34, 11, 78);
/* oklch */ color: oklch(23.8% 0.112 290.9);
Tailwind
colors: {
  custom: {
    50: '#634d80',
    500: '#220b4e',
    950: '#000000',
  },
}
SCSS
$custom: #220b4e;
$custom-light: #634d80;
$custom-dark: #000000;
JSON
{
  "hex": "#220b4e",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 260.597,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23767,
    "c": 0.11198,
    "h": 290.9
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#220B4E
secondary
#698A2B
accent
#F236B1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #220B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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