#220C41#220C41

#220C41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.094 H 297.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#220C41
RGBrgb(34, 12, 65)
HSLhsl(265, 69%, 15%)
HSVhsv(265, 82%, 25%)
CMYKcmyk(47.7%, 81.5%, 0%, 74.5%)
CIE-LABlab(8.86, 24.74, -29.22)
CIE-LCHlch(8.86, 38.28, 310.25°)
OKLaboklab(22.54% 0.0428 -0.0835)
OKLCHoklch(22.54% 0.094 297.1)
XYZxyz(1.7450, 0.9846, 5.0981)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C41 #2B410C
analogous
#0C1041 #220C41 #3D0C41
triadic
#220C41 #41220C #0C4122
tetradic
#220C41 #410C10 #2B410C #0C413D
square
#220C41 #410C10 #2B410C #0C413D
split-complementary
#220C41 #413D0C #10410C
monochromatic
#0E051A #0E051A #220C41 #3D1675 #581FA8

Accessibility & contrast

On white

17.54
#220C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C41
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C41#FFFFFF#000000##FFFFFF
##220C411.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#1A1925
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220c41;
/* rgb */ color: rgb(34, 12, 65);
/* oklch */ color: oklch(22.5% 0.094 297.1);
Tailwind
colors: {
  custom: {
    50: '#614d76',
    500: '#220c41',
    950: '#000000',
  },
}
SCSS
$custom: #220c41;
$custom-light: #614d76;
$custom-dark: #000000;
JSON
{
  "hex": "#220c41",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 264.906,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22536,
    "c": 0.09389,
    "h": 297.1
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#220C41
secondary
#5B7D2C
accent
#EC3CA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220C41

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

Preview Lab → · Contrast checker → · Palette generator →

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