#221059#221059

#221059 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.121 H 285.4°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#221059
RGBrgb(34, 16, 89)
HSLhsl(255, 70%, 21%)
HSVhsv(255, 82%, 35%)
CMYKcmyk(61.8%, 82%, 0%, 65.1%)
CIE-LABlab(12.17, 30.16, -40.41)
CIE-LCHlch(12.17, 50.42, 306.73°)
OKLaboklab(25.63% 0.0321 -0.1164)
OKLCHoklch(25.63% 0.121 285.4)
XYZxyz(2.6476, 1.4318, 9.5861)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221059 #475910
analogous
#102259 #221059 #461059
triadic
#221059 #592210 #105922
tetradic
#221059 #591022 #475910 #105946
square
#221059 #591022 #475910 #105946
split-complementary
#221059 #594610 #225910
monochromatic
#0A051A #0E0725 #221059 #36198D #4A23C1

Accessibility & contrast

On white

16.32
#221059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#221059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221059
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221059#FFFFFF#000000##FFFFFF
##2210591.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#062534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #221059;
/* rgb */ color: rgb(34, 16, 89);
/* oklch */ color: oklch(25.6% 0.121 285.4);
Tailwind
colors: {
  custom: {
    50: '#655189',
    500: '#221059',
    950: '#000000',
  },
}
SCSS
$custom: #221059;
$custom-light: #655189;
$custom-dark: #000000;
JSON
{
  "hex": "#221059",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 254.795,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2563,
    "c": 0.12073,
    "h": 285.4
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#221059
secondary
#7B9233
accent
#EC3BC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221059

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

Preview Lab → · Contrast checker → · Palette generator →

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