#220D49#220D49

#220D49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.103 H 292.6°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#220D49
RGBrgb(34, 13, 73)
HSLhsl(261, 70%, 17%)
HSVhsv(261, 82%, 29%)
CMYKcmyk(53.4%, 82.2%, 0%, 71.4%)
CIE-LABlab(9.87, 26.68, -33.21)
CIE-LCHlch(9.87, 42.59, 308.78°)
OKLaboklab(23.49% 0.0396 -0.0953)
OKLCHoklch(23.49% 0.103 292.6)
XYZxyz(2.0059, 1.1089, 6.4104)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D49 #34490D
analogous
#0D1649 #220D49 #400D49
triadic
#220D49 #49220D #0D4922
tetradic
#220D49 #490D16 #34490D #0D4940
square
#220D49 #490D16 #34490D #0D4940
split-complementary
#220D49 #49400D #16490D
monochromatic
#0C051A #0C051A #220D49 #3A167D #5220B1

Accessibility & contrast

On white

17.19
#220D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D49
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D49#FFFFFF#000000##FFFFFF
##220D491.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#161D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220d49;
/* rgb */ color: rgb(34, 13, 73);
/* oklch */ color: oklch(23.5% 0.103 292.6);
Tailwind
colors: {
  custom: {
    50: '#624e7c',
    500: '#220d49',
    950: '#000000',
  },
}
SCSS
$custom: #220d49;
$custom-light: #624e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220d49",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 261,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23494,
    "c": 0.10317,
    "h": 292.6
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#220D49
secondary
#66842D
accent
#ED3BAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220D49

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

Preview Lab → · Contrast checker → · Palette generator →

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