#221161#221161

#221161 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.130 H 282.8°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#221161
RGBrgb(34, 17, 97)
HSLhsl(253, 70%, 22%)
HSVhsv(253, 82%, 38%)
CMYKcmyk(64.9%, 82.5%, 0%, 62%)
CIE-LABlab(13.25, 32.22, -43.99)
CIE-LCHlch(13.25, 54.53, 306.23°)
OKLaboklab(26.66% 0.0289 -0.1268)
OKLCHoklch(26.66% 0.13 282.8)
XYZxyz(3.0171, 1.6038, 11.4575)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221161 #506111
analogous
#112861 #221161 #4A1161
triadic
#221161 #612211 #116122
tetradic
#221161 #611128 #506111 #11614A
square
#221161 #611128 #506111 #11614A
split-complementary
#221161 #614A11 #286111
monochromatic
#09051A #10082D #221161 #341A95 #4723C9

Accessibility & contrast

On white

15.90
#221161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221161
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221161#FFFFFF#000000##FFFFFF
##2211611.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221161;
/* rgb */ color: rgb(34, 17, 97);
/* oklch */ color: oklch(26.7% 0.130 282.8);
Tailwind
colors: {
  custom: {
    50: '#67528f',
    500: '#221161',
    950: '#000000',
  },
}
SCSS
$custom: #221161;
$custom-light: #67528f;
$custom-dark: #000000;
JSON
{
  "hex": "#221161",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 252.75,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26659,
    "c": 0.13009,
    "h": 282.8
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#221161
secondary
#849934
accent
#ED3BC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #221161

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

Preview Lab → · Contrast checker → · Palette generator →

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