#220D41#220D41

#220D41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.092 H 296.8°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#220D41
RGBrgb(34, 13, 65)
HSLhsl(264, 67%, 15%)
HSVhsv(264, 80%, 25%)
CMYKcmyk(47.7%, 80%, 0%, 74.5%)
CIE-LABlab(9.07, 24.16, -28.88)
CIE-LCHlch(9.07, 37.65, 309.91°)
OKLaboklab(22.68% 0.0417 -0.0826)
OKLCHoklch(22.68% 0.092 296.8)
XYZxyz(1.7575, 1.0095, 5.1023)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D41 #2C410D
analogous
#0D1241 #220D41 #3C0D41
triadic
#220D41 #41220D #0D4122
tetradic
#220D41 #410D12 #2C410D #0D413C
square
#220D41 #410D12 #2C410D #0D413C
split-complementary
#220D41 #413C0D #12410D
monochromatic
#0D051A #0D051A #220D41 #3D1774 #5721A7

Accessibility & contrast

On white

17.47
#220D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D41
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D41#FFFFFF#000000##FFFFFF
##220D411.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#1A1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220d41;
/* rgb */ color: rgb(34, 13, 65);
/* oklch */ color: oklch(22.7% 0.092 296.8);
Tailwind
colors: {
  custom: {
    50: '#614d76',
    500: '#220d41',
    950: '#000000',
  },
}
SCSS
$custom: #220d41;
$custom-light: #614d76;
$custom-dark: #000000;
JSON
{
  "hex": "#220d41",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 264.231,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22683,
    "c": 0.09248,
    "h": 296.8
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#220D41
secondary
#5D7D2D
accent
#EA3EA4
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220D41

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

Preview Lab → · Contrast checker → · Palette generator →

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