#221062#221062

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

Color values

HEX#221062
RGBrgb(34, 16, 98)
HSLhsl(253, 72%, 22%)
HSVhsv(253, 84%, 38%)
CMYKcmyk(65.3%, 83.7%, 0%, 61.6%)
CIE-LABlab(13.18, 33.08, -44.77)
CIE-LCHlch(13.18, 55.66, 306.46°)
OKLaboklab(26.64% 0.0292 -0.1291)
OKLCHoklch(26.64% 0.132 282.8)
XYZxyz(3.0489, 1.5923, 11.6996)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221062 #506210
analogous
#102762 #221062 #4B1062
triadic
#221062 #622210 #106222
tetradic
#221062 #621027 #506210 #10624B
square
#221062 #621027 #506210 #10624B
split-complementary
#221062 #624B10 #276210
monochromatic
#09041A #10072D #221062 #341997 #4721CB

Accessibility & contrast

On white

15.93
#221062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221062
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221062#FFFFFF#000000##FFFFFF
##2210621.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221062;
/* rgb */ color: rgb(34, 16, 98);
/* oklch */ color: oklch(26.6% 0.132 282.8);
Tailwind
colors: {
  custom: {
    50: '#675190',
    500: '#221062',
    950: '#000000',
  },
}
SCSS
$custom: #221062;
$custom-light: #675190;
$custom-dark: #000000;
JSON
{
  "hex": "#221062",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 253.171,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26644,
    "c": 0.13237,
    "h": 282.8
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#221062
secondary
#849B33
accent
#EF39C7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #221062

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

Preview Lab → · Contrast checker → · Palette generator →

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