#220F4A#220F4A

#220F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.102 H 291.5°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#220F4A
RGBrgb(34, 15, 74)
HSLhsl(259, 66%, 17%)
HSVhsv(259, 80%, 29%)
CMYKcmyk(54.1%, 79.7%, 0%, 71%)
CIE-LABlab(10.38, 25.84, -33.06)
CIE-LCHlch(10.38, 41.96, 308.01°)
OKLaboklab(23.89% 0.0373 -0.0949)
OKLCHoklch(23.89% 0.102 291.5)
XYZxyz(2.0662, 1.1761, 6.5954)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F4A #374A0F
analogous
#0F1A4A #220F4A #3F0F4A
triadic
#220F4A #4A220F #0F4A22
tetradic
#220F4A #4A0F1A #374A0F #0F4A3F
square
#220F4A #4A0F1A #374A0F #0F4A3F
split-complementary
#220F4A #4A3F0F #1A4A0F
monochromatic
#0C0519 #0C0519 #220F4A #39197D #5124B0

Accessibility & contrast

On white

17.00
#220F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F4A
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F4A#FFFFFF#000000##FFFFFF
##220F4A1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#151E2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220f4a;
/* rgb */ color: rgb(34, 15, 74);
/* oklch */ color: oklch(23.9% 0.102 291.5);
Tailwind
colors: {
  custom: {
    50: '#624f7d',
    500: '#220f4a',
    950: '#000000',
  },
}
SCSS
$custom: #220f4a;
$custom-light: #624f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220f4a",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 259.322,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23887,
    "c": 0.10193,
    "h": 291.5
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#220F4A
secondary
#698430
accent
#E93FB2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #220F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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