#220B34#220B34

#220B34 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.078 H 306.6°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#220B34
RGBrgb(34, 11, 52)
HSLhsl(274, 65%, 12%)
HSVhsv(274, 79%, 20%)
CMYKcmyk(34.6%, 78.8%, 0%, 79.6%)
CIE-LABlab(7.47, 21.36, -22.10)
CIE-LCHlch(7.47, 30.73, 314.02°)
OKLaboklab(21.16% 0.0466 -0.0627)
OKLCHoklch(21.16% 0.078 306.6)
XYZxyz(1.3991, 0.8274, 3.3341)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B34 #1D340B
analogous
#0E0B34 #220B34 #340B31
triadic
#220B34 #34220B #0B3422
tetradic
#220B34 #340E0B #1D340B #0B3134
square
#220B34 #340E0B #1D340B #0B3134
split-complementary
#220B34 #31340B #0B340E
monochromatic
#110519 #110519 #220B34 #431667 #642099

Accessibility & contrast

On white

18.02
#220B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B34
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B34#FFFFFF#000000##FFFFFF
##220B341.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#031733
Tritanopia (blue-blind)
#1F141E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220b34;
/* rgb */ color: rgb(34, 11, 52);
/* oklch */ color: oklch(21.2% 0.078 306.6);
Tailwind
colors: {
  custom: {
    50: '#5f4c6c',
    500: '#220b34',
    950: '#000000',
  },
}
SCSS
$custom: #220b34;
$custom-light: #5f4c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220b34",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 273.659,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21163,
    "c": 0.07808,
    "h": 306.6
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#220B34
secondary
#49712A
accent
#E8408A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220B34

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

Preview Lab → · Contrast checker → · Palette generator →

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