#221561#221561

#221561 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.126 H 281.9°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#221561
RGBrgb(34, 21, 97)
HSLhsl(250, 64%, 23%)
HSVhsv(250, 78%, 38%)
CMYKcmyk(64.9%, 78.4%, 0%, 62%)
CIE-LABlab(14.05, 29.94, -42.67)
CIE-LCHlch(14.05, 52.12, 305.06°)
OKLaboklab(27.22% 0.0259 -0.123)
OKLCHoklch(27.22% 0.126 281.9)
XYZxyz(3.0848, 1.7393, 11.4801)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221561 #546115
analogous
#152E61 #221561 #481561
triadic
#221561 #612215 #156122
tetradic
#221561 #61152E #546115 #156148
square
#221561 #61152E #546115 #156148
split-complementary
#221561 #614815 #2E6115
monochromatic
#090519 #100A2F #221561 #342093 #452BC6

Accessibility & contrast

On white

15.58
#221561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#221561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221561
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221561#FFFFFF#000000##FFFFFF
##2215611.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221561;
/* rgb */ color: rgb(34, 21, 97);
/* oklch */ color: oklch(27.2% 0.126 281.9);
Tailwind
colors: {
  custom: {
    50: '#66548f',
    500: '#221561',
    950: '#000000',
  },
}
SCSS
$custom: #221561;
$custom-light: #66548f;
$custom-dark: #000000;
JSON
{
  "hex": "#221561",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 250.263,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27222,
    "c": 0.12572,
    "h": 281.9
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#221561
secondary
#88983A
accent
#E740CB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #221561

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

Preview Lab → · Contrast checker → · Palette generator →

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