#220D50#220D50

#220D50 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.112 H 289.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#220D50
RGBrgb(34, 13, 80)
HSLhsl(259, 72%, 18%)
HSVhsv(259, 84%, 31%)
CMYKcmyk(57.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(10.61, 28.90, -36.84)
CIE-LCHlch(10.61, 46.82, 308.11°)
OKLaboklab(24.24% 0.0375 -0.1059)
OKLCHoklch(24.24% 0.112 289.5)
XYZxyz(2.2512, 1.2070, 7.7022)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D50 #3B500D
analogous
#0D1950 #220D50 #430D50
triadic
#220D50 #50220D #0D5022
tetradic
#220D50 #500D19 #3B500D #0D5043
square
#220D50 #500D19 #3B500D #0D5043
split-complementary
#220D50 #50430D #19500D
monochromatic
#0B041A #0C041B #220D50 #381685 #4F1EB9

Accessibility & contrast

On white

16.92
#220D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D50
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D50#FFFFFF#000000##FFFFFF
##220D501.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#11202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220d50;
/* rgb */ color: rgb(34, 13, 80);
/* oklch */ color: oklch(24.2% 0.112 289.5);
Tailwind
colors: {
  custom: {
    50: '#634e82',
    500: '#220d50',
    950: '#000000',
  },
}
SCSS
$custom: #220d50;
$custom-light: #634e82;
$custom-dark: #000000;
JSON
{
  "hex": "#220d50",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 258.806,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24241,
    "c": 0.11233,
    "h": 289.5
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#220D50
secondary
#6E8B2E
accent
#EF39B6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220D50

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

Preview Lab → · Contrast checker → · Palette generator →

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