#220A40#220A40

#220A40 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.095 H 298.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#220A40
RGBrgb(34, 10, 64)
HSLhsl(267, 73%, 15%)
HSVhsv(267, 84%, 25%)
CMYKcmyk(46.9%, 84.4%, 0%, 74.9%)
CIE-LABlab(8.37, 25.54, -29.31)
CIE-LCHlch(8.37, 38.88, 311.07°)
OKLaboklab(22.16% 0.0453 -0.0838)
OKLCHoklch(22.16% 0.095 298.4)
XYZxyz(1.6934, 0.9273, 4.9393)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A40 #28400A
analogous
#0A0D40 #220A40 #3D0A40
triadic
#220A40 #40220A #0A4022
tetradic
#220A40 #400A0D #28400A #0A403D
square
#220A40 #400A0D #28400A #0A403D
split-complementary
#220A40 #403D0A #0D400A
monochromatic
#0E041A #0E041A #220A40 #3E1275 #5A1BAA

Accessibility & contrast

On white

17.72
#220A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A40
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A40#FFFFFF#000000##FFFFFF
##220A401.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#1B1824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220a40;
/* rgb */ color: rgb(34, 10, 64);
/* oklch */ color: oklch(22.2% 0.095 298.4);
Tailwind
colors: {
  custom: {
    50: '#614c75',
    500: '#220a40',
    950: '#000000',
  },
}
SCSS
$custom: #220a40;
$custom-light: #614c75;
$custom-dark: #000000;
JSON
{
  "hex": "#220a40",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 266.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22157,
    "c": 0.09527,
    "h": 298.4
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#220A40
secondary
#587D29
accent
#F0389E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220A40

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

Preview Lab → · Contrast checker → · Palette generator →

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