#220A4A#220A4A

#220A4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.108 H 293.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#220A4A
RGBrgb(34, 10, 74)
HSLhsl(263, 76%, 16%)
HSVhsv(263, 86%, 29%)
CMYKcmyk(54.1%, 86.5%, 0%, 71%)
CIE-LABlab(9.41, 28.59, -34.65)
CIE-LCHlch(9.41, 44.92, 309.53°)
OKLaboklab(23.21% 0.0421 -0.0995)
OKLCHoklch(23.21% 0.108 293)
XYZxyz(2.0039, 1.0515, 6.5746)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A4A #324A0A
analogous
#0A124A #220A4A #420A4A
triadic
#220A4A #4A220A #0A4A22
tetradic
#220A4A #4A0A12 #324A0A #0A4A42
square
#220A4A #4A0A12 #324A0A #0A4A42
split-complementary
#220A4A #4A420A #124A0A
monochromatic
#0C041B #0C041B #220A4A #3B1180 #5419B6

Accessibility & contrast

On white

17.35
#220A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A4A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A4A#FFFFFF#000000##FFFFFF
##220A4A1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#151C2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220a4a;
/* rgb */ color: rgb(34, 10, 74);
/* oklch */ color: oklch(23.2% 0.108 293.0);
Tailwind
colors: {
  custom: {
    50: '#634c7d',
    500: '#220a4a',
    950: '#000000',
  },
}
SCSS
$custom: #220a4a;
$custom-light: #634c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220a4a",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 262.5,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23208,
    "c": 0.10801,
    "h": 293
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#220A4A
secondary
#648729
accent
#F335AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #220A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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