#220B46#220B46

#220B46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.102 H 294.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#220B46
RGBrgb(34, 11, 70)
HSLhsl(263, 73%, 16%)
HSVhsv(263, 84%, 27%)
CMYKcmyk(51.4%, 84.3%, 0%, 72.5%)
CIE-LABlab(9.17, 26.84, -32.25)
CIE-LCHlch(9.17, 41.95, 309.77°)
OKLaboklab(22.91% 0.0425 -0.0924)
OKLCHoklch(22.91% 0.102 294.7)
XYZxyz(1.8845, 1.0216, 5.8911)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B46 #2F460B
analogous
#0B1146 #220B46 #3F0B46
triadic
#220B46 #46220B #0B4622
tetradic
#220B46 #460B11 #2F460B #0B463F
square
#220B46 #460B11 #2F460B #0B463F
split-complementary
#220B46 #463F0B #11460B
monochromatic
#0D041A #0D041A #220B46 #3C137B #551CB0

Accessibility & contrast

On white

17.44
#220B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B46
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B46#FFFFFF#000000##FFFFFF
##220B461.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#181B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220b46;
/* rgb */ color: rgb(34, 11, 70);
/* oklch */ color: oklch(22.9% 0.102 294.7);
Tailwind
colors: {
  custom: {
    50: '#624c7a',
    500: '#220b46',
    950: '#000000',
  },
}
SCSS
$custom: #220b46;
$custom-light: #624c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220b46",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 263.39,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22908,
    "c": 0.10174,
    "h": 294.7
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#220B46
secondary
#60822A
accent
#F038A8
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220B46

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

Preview Lab → · Contrast checker → · Palette generator →

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