#220B47#220B47

#220B47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.103 H 294.2°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#220B47
RGBrgb(34, 11, 71)
HSLhsl(263, 73%, 16%)
HSVhsv(263, 85%, 28%)
CMYKcmyk(52.1%, 84.5%, 0%, 72.2%)
CIE-LABlab(9.27, 27.15, -32.78)
CIE-LCHlch(9.27, 42.56, 309.63°)
OKLaboklab(23.01% 0.0422 -0.094)
OKLCHoklch(23.01% 0.103 294.2)
XYZxyz(1.9164, 1.0343, 6.0587)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B47 #30470B
analogous
#0B1247 #220B47 #400B47
triadic
#220B47 #47220B #0B4722
tetradic
#220B47 #470B12 #30470B #0B4740
square
#220B47 #470B12 #30470B #0B4740
split-complementary
#220B47 #47400B #12470B
monochromatic
#0D041A #0D041A #220B47 #3B137C #551BB1

Accessibility & contrast

On white

17.40
#220B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B47
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B47#FFFFFF#000000##FFFFFF
##220B471.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#171B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220b47;
/* rgb */ color: rgb(34, 11, 71);
/* oklch */ color: oklch(23.0% 0.103 294.2);
Tailwind
colors: {
  custom: {
    50: '#624d7b',
    500: '#220b47',
    950: '#000000',
  },
}
SCSS
$custom: #220b47;
$custom-light: #624d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#220b47",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 263,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23013,
    "c": 0.10303,
    "h": 294.2
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#220B47
secondary
#61832A
accent
#F038A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220B47

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

Preview Lab → · Contrast checker → · Palette generator →

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