#220A46#220A46

#220A46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.103 H 295.0°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#220A46
RGBrgb(34, 10, 70)
HSLhsl(264, 75%, 16%)
HSVhsv(264, 86%, 27%)
CMYKcmyk(51.4%, 85.7%, 0%, 72.5%)
CIE-LABlab(8.99, 27.37, -32.55)
CIE-LCHlch(8.99, 42.52, 310.06°)
OKLaboklab(22.78% 0.0435 -0.0933)
OKLCHoklch(22.78% 0.103 295)
XYZxyz(1.8734, 0.9993, 5.8873)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A46 #2E460A
analogous
#0A1046 #220A46 #400A46
triadic
#220A46 #46220A #0A4622
tetradic
#220A46 #460A10 #2E460A #0A4640
square
#220A46 #460A10 #2E460A #0A4640
split-complementary
#220A46 #46400A #10460A
monochromatic
#0D041B #0D041B #220A46 #3C127C #5619B1

Accessibility & contrast

On white

17.50
#220A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A46
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A46#FFFFFF#000000##FFFFFF
##220A461.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#181A28
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220a46;
/* rgb */ color: rgb(34, 10, 70);
/* oklch */ color: oklch(22.8% 0.103 295.0);
Tailwind
colors: {
  custom: {
    50: '#624c7a',
    500: '#220a46',
    950: '#000000',
  },
}
SCSS
$custom: #220a46;
$custom-light: #624c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220a46",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 264,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22779,
    "c": 0.10294,
    "h": 295
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#220A46
secondary
#5F8329
accent
#F236A7
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220A46

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

Preview Lab → · Contrast checker → · Palette generator →

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