#220B48#220B48

#220B48 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.104 H 293.7°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#220B48
RGBrgb(34, 11, 72)
HSLhsl(263, 73%, 16%)
HSVhsv(263, 85%, 28%)
CMYKcmyk(52.8%, 84.7%, 0%, 71.8%)
CIE-LABlab(9.38, 27.46, -33.31)
CIE-LCHlch(9.38, 43.17, 309.50°)
OKLaboklab(23.12% 0.0419 -0.0955)
OKLCHoklch(23.12% 0.104 293.7)
XYZxyz(1.9487, 1.0472, 6.2291)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B48 #31480B
analogous
#0B1348 #220B48 #410B48
triadic
#220B48 #48220B #0B4822
tetradic
#220B48 #480B13 #31480B #0B4841
square
#220B48 #480B13 #31480B #0B4841
split-complementary
#220B48 #48410B #13480B
monochromatic
#0D041B #0D041B #220B48 #3B137D #541BB2

Accessibility & contrast

On white

17.36
#220B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B48
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B48#FFFFFF#000000##FFFFFF
##220B481.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#161C29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220b48;
/* rgb */ color: rgb(34, 11, 72);
/* oklch */ color: oklch(23.1% 0.104 293.7);
Tailwind
colors: {
  custom: {
    50: '#624d7c',
    500: '#220b48',
    950: '#000000',
  },
}
SCSS
$custom: #220b48;
$custom-light: #624d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220b48",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 262.623,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23119,
    "c": 0.10432,
    "h": 293.7
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#220B48
secondary
#62842A
accent
#F038AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220B48

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

Preview Lab → · Contrast checker → · Palette generator →

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