#220F72#220F72

#220F72 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.153 H 279.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#220F72
RGBrgb(34, 15, 114)
HSLhsl(252, 77%, 25%)
HSVhsv(252, 87%, 45%)
CMYKcmyk(70.2%, 86.8%, 0%, 55.3%)
CIE-LABlab(14.93, 38.63, -52.38)
CIE-LCHlch(14.93, 65.08, 306.41°)
OKLaboklab(28.42% 0.0243 -0.1512)
OKLCHoklch(28.42% 0.153 279.1)
XYZxyz(3.8668, 1.8963, 16.0786)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F72 #5F720F
analogous
#0F2E72 #220F72 #530F72
triadic
#220F72 #72220F #0F7222
tetradic
#220F72 #720F2E #5F720F #0F7253
square
#220F72 #720F2E #5F720F #0F7253
split-complementary
#220F72 #72530F #2E720F
monochromatic
#08041B #12083C #220F72 #3216A8 #421DDE

Accessibility & contrast

On white

15.22
#220F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#220F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F72
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F72#FFFFFF#000000##FFFFFF
##220F721.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #220f72;
/* rgb */ color: rgb(34, 15, 114);
/* oklch */ color: oklch(28.4% 0.153 279.1);
Tailwind
colors: {
  custom: {
    50: '#6b529c',
    500: '#220f72',
    950: '#000000',
  },
}
SCSS
$custom: #220f72;
$custom-light: #6b529c;
$custom-dark: #000000;
JSON
{
  "hex": "#220f72",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 251.515,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28418,
    "c": 0.15317,
    "h": 279.1
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#220F72
secondary
#93AA33
accent
#F335CF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #220F72

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

Preview Lab → · Contrast checker → · Palette generator →

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