#220A30#220A30

#220A30 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.074 H 310.5°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#220A30
RGBrgb(34, 10, 48)
HSLhsl(278, 66%, 11%)
HSVhsv(278, 79%, 19%)
CMYKcmyk(29.2%, 79.2%, 0%, 81.2%)
CIE-LABlab(6.96, 20.65, -19.97)
CIE-LCHlch(6.96, 28.73, 315.96°)
OKLaboklab(20.66% 0.0484 -0.0566)
OKLCHoklch(20.66% 0.074 310.5)
XYZxyz(1.3016, 0.7706, 2.8759)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A30 #18300A
analogous
#0F0A30 #220A30 #300A2B
triadic
#220A30 #30220A #0A3022
tetradic
#220A30 #300F0A #18300A #0A2B30
square
#220A30 #300F0A #18300A #0A2B30
split-complementary
#220A30 #2B300A #0A300F
monochromatic
#120519 #120519 #220A30 #461563 #6A1F95

Accessibility & contrast

On white

18.19
#220A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A30
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A30#FFFFFF#000000##FFFFFF
##220A301.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#06162F
Tritanopia (blue-blind)
#20121B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a30;
/* rgb */ color: rgb(34, 10, 48);
/* oklch */ color: oklch(20.7% 0.074 310.5);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#220a30',
    950: '#000000',
  },
}
SCSS
$custom: #220a30;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#220a30",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 277.895,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20661,
    "c": 0.07449,
    "h": 310.5
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#220A30
secondary
#426D29
accent
#E83F7E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220A30

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

Preview Lab → · Contrast checker → · Palette generator →

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