#221064#221064

#221064 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.135 H 282.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#221064
RGBrgb(34, 16, 100)
HSLhsl(253, 72%, 23%)
HSVhsv(253, 84%, 39%)
CMYKcmyk(66%, 84%, 0%, 60.8%)
CIE-LABlab(13.41, 33.72, -45.71)
CIE-LCHlch(13.41, 56.81, 306.42°)
OKLaboklab(26.87% 0.0286 -0.1319)
OKLCHoklch(26.87% 0.135 282.2)
XYZxyz(3.1445, 1.6305, 12.2031)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221064 #526410
analogous
#102864 #221064 #4C1064
triadic
#221064 #642210 #106422
tetradic
#221064 #641028 #526410 #10644C
square
#221064 #641028 #526410 #10644C
split-complementary
#221064 #644C10 #286410
monochromatic
#09041A #10082F #221064 #341899 #4621CE

Accessibility & contrast

On white

15.83
#221064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#221064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221064
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221064#FFFFFF#000000##FFFFFF
##2210641.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221064;
/* rgb */ color: rgb(34, 16, 100);
/* oklch */ color: oklch(26.9% 0.135 282.2);
Tailwind
colors: {
  custom: {
    50: '#675191',
    500: '#221064',
    950: '#000000',
  },
}
SCSS
$custom: #221064;
$custom-light: #675191;
$custom-dark: #000000;
JSON
{
  "hex": "#221064",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 252.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26874,
    "c": 0.13492,
    "h": 282.2
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#221064
secondary
#869D33
accent
#EF39C8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221064

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

Preview Lab → · Contrast checker → · Palette generator →

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