#221160#221160

#221160 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.129 H 283.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#221160
RGBrgb(34, 17, 96)
HSLhsl(253, 70%, 22%)
HSVhsv(253, 82%, 38%)
CMYKcmyk(64.6%, 82.3%, 0%, 62.4%)
CIE-LABlab(13.14, 31.90, -43.50)
CIE-LCHlch(13.14, 53.94, 306.25°)
OKLaboklab(26.55% 0.0292 -0.1254)
OKLCHoklch(26.55% 0.129 283.1)
XYZxyz(2.9708, 1.5853, 11.2135)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221160 #4F6011
analogous
#112860 #221160 #4A1160
triadic
#221160 #602211 #116022
tetradic
#221160 #601128 #4F6011 #11604A
square
#221160 #601128 #4F6011 #11604A
split-complementary
#221160 #604A11 #286011
monochromatic
#09051A #10082C #221160 #341A94 #4723C8

Accessibility & contrast

On white

15.94
#221160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#221160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221160
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221160#FFFFFF#000000##FFFFFF
##2211601.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221160;
/* rgb */ color: rgb(34, 17, 96);
/* oklch */ color: oklch(26.5% 0.129 283.1);
Tailwind
colors: {
  custom: {
    50: '#66528e',
    500: '#221160',
    950: '#000000',
  },
}
SCSS
$custom: #221160;
$custom-light: #66528e;
$custom-dark: #000000;
JSON
{
  "hex": "#221160",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 252.911,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26546,
    "c": 0.12878,
    "h": 283.1
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#221160
secondary
#839934
accent
#ED3BC6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #221160

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

Preview Lab → · Contrast checker → · Palette generator →

#221160 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva