#220A34#220A34

#220A34 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 307.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#220A34
RGBrgb(34, 10, 52)
HSLhsl(274, 68%, 12%)
HSVhsv(274, 81%, 20%)
CMYKcmyk(34.6%, 80.8%, 0%, 79.6%)
CIE-LABlab(7.27, 21.90, -22.42)
CIE-LCHlch(7.27, 31.34, 314.32°)
OKLaboklab(21.01% 0.0479 -0.0637)
OKLCHoklch(21.01% 0.08 307)
XYZxyz(1.3879, 0.8051, 3.3304)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A34 #1C340A
analogous
#0D0A34 #220A34 #340A31
triadic
#220A34 #34220A #0A3422
tetradic
#220A34 #340D0A #1C340A #0A3134
square
#220A34 #340D0A #1C340A #0A3134
split-complementary
#220A34 #31340A #0A340D
monochromatic
#11051A #11051A #220A34 #441467 #651E9B

Accessibility & contrast

On white

18.09
#220A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A34
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A34#FFFFFF#000000##FFFFFF
##220A341.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#021633
Tritanopia (blue-blind)
#1F131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220a34;
/* rgb */ color: rgb(34, 10, 52);
/* oklch */ color: oklch(21.0% 0.080 307.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b6c',
    500: '#220a34',
    950: '#000000',
  },
}
SCSS
$custom: #220a34;
$custom-light: #5f4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220a34",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 274.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2101,
    "c": 0.07971,
    "h": 307
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#220A34
secondary
#487128
accent
#EB3D88
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220A34

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

Preview Lab → · Contrast checker → · Palette generator →

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