#220A41#220A41

#220A41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.097 H 297.8°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#220A41
RGBrgb(34, 10, 65)
HSLhsl(266, 73%, 15%)
HSVhsv(266, 85%, 25%)
CMYKcmyk(47.7%, 84.6%, 0%, 74.5%)
CIE-LABlab(8.47, 25.85, -29.86)
CIE-LCHlch(8.47, 39.49, 310.88°)
OKLaboklab(22.26% 0.045 -0.0854)
OKLCHoklch(22.26% 0.097 297.8)
XYZxyz(1.7221, 0.9388, 5.0905)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A41 #29410A
analogous
#0A0E41 #220A41 #3E0A41
triadic
#220A41 #41220A #0A4122
tetradic
#220A41 #410A0E #29410A #0A413E
square
#220A41 #410A0E #29410A #0A413E
split-complementary
#220A41 #413E0A #0E410A
monochromatic
#0E041B #0E041B #220A41 #3E1276 #591AAB

Accessibility & contrast

On white

17.68
#220A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A41
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A41#FFFFFF#000000##FFFFFF
##220A411.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#1A1825
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220a41;
/* rgb */ color: rgb(34, 10, 65);
/* oklch */ color: oklch(22.3% 0.097 297.8);
Tailwind
colors: {
  custom: {
    50: '#614c76',
    500: '#220a41',
    950: '#000000',
  },
}
SCSS
$custom: #220a41;
$custom-light: #614c76;
$custom-dark: #000000;
JSON
{
  "hex": "#220a41",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 266.182,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22259,
    "c": 0.09655,
    "h": 297.8
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#220A41
secondary
#597E29
accent
#F038A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220A41

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

Preview Lab → · Contrast checker → · Palette generator →

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