#220B45#220B45

#220B45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.100 H 295.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#220B45
RGBrgb(34, 11, 69)
HSLhsl(264, 73%, 16%)
HSVhsv(264, 84%, 27%)
CMYKcmyk(50.7%, 84.1%, 0%, 72.9%)
CIE-LABlab(9.07, 26.53, -31.71)
CIE-LCHlch(9.07, 41.35, 309.91°)
OKLaboklab(22.8% 0.0428 -0.0909)
OKLCHoklch(22.8% 0.1 295.2)
XYZxyz(1.8532, 1.0090, 5.7262)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B45 #2E450B
analogous
#0B1145 #220B45 #3F0B45
triadic
#220B45 #45220B #0B4522
tetradic
#220B45 #450B11 #2E450B #0B453F
square
#220B45 #450B11 #2E450B #0B453F
split-complementary
#220B45 #453F0B #11450B
monochromatic
#0D041A #0D041A #220B45 #3C137A #561CAF

Accessibility & contrast

On white

17.47
#220B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B45
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B45#FFFFFF#000000##FFFFFF
##220B451.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#181B27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220b45;
/* rgb */ color: rgb(34, 11, 69);
/* oklch */ color: oklch(22.8% 0.100 295.2);
Tailwind
colors: {
  custom: {
    50: '#624c79',
    500: '#220b45',
    950: '#000000',
  },
}
SCSS
$custom: #220b45;
$custom-light: #624c79;
$custom-dark: #000000;
JSON
{
  "hex": "#220b45",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 263.793,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22803,
    "c": 0.10045,
    "h": 295.2
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#220B45
secondary
#5F812A
accent
#EF39A7
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220B45

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

Preview Lab → · Contrast checker → · Palette generator →

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