#220F60#220F60

#220F60 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.131 H 283.5°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#220F60
RGBrgb(34, 15, 96)
HSLhsl(254, 73%, 22%)
HSVhsv(254, 84%, 38%)
CMYKcmyk(64.6%, 84.4%, 0%, 62.4%)
CIE-LABlab(12.77, 32.95, -44.11)
CIE-LCHlch(12.77, 55.06, 306.76°)
OKLaboklab(26.29% 0.0306 -0.1272)
OKLCHoklch(26.29% 0.131 283.5)
XYZxyz(2.9412, 1.5261, 11.2036)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F60 #4D600F
analogous
#0F2560 #220F60 #4B0F60
triadic
#220F60 #60220F #0F6022
tetradic
#220F60 #600F25 #4D600F #0F604B
square
#220F60 #600F25 #4D600F #0F604B
split-complementary
#220F60 #604B0F #25600F
monochromatic
#09041A #0F072B #220F60 #351795 #4720CA

Accessibility & contrast

On white

16.09
#220F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#220F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F60
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F60#FFFFFF#000000##FFFFFF
##220F601.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002738
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #220f60;
/* rgb */ color: rgb(34, 15, 96);
/* oklch */ color: oklch(26.3% 0.131 283.5);
Tailwind
colors: {
  custom: {
    50: '#67508e',
    500: '#220f60',
    950: '#000000',
  },
}
SCSS
$custom: #220f60;
$custom-light: #67508e;
$custom-dark: #000000;
JSON
{
  "hex": "#220f60",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 254.074,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.1308,
    "h": 283.5
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#220F60
secondary
#819932
accent
#F038C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #220F60

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

Preview Lab → · Contrast checker → · Palette generator →

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