#221070#221070

#221070 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.150 H 279.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#221070
RGBrgb(34, 16, 112)
HSLhsl(251, 75%, 25%)
HSVhsv(251, 86%, 44%)
CMYKcmyk(69.6%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.85, 37.54, -51.23)
CIE-LCHlch(14.85, 63.51, 306.24°)
OKLaboklab(28.29% 0.0245 -0.1479)
OKLCHoklch(28.29% 0.15 279.4)
XYZxyz(3.7687, 1.8802, 15.4904)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221070 #5E7010
analogous
#102E70 #221070 #521070
triadic
#221070 #702210 #107022
tetradic
#221070 #70102E #5E7010 #107052
square
#221070 #70102E #5E7010 #107052
split-complementary
#221070 #705210 #2E7010
monochromatic
#08041B #12083A #221070 #3218A6 #431FDB

Accessibility & contrast

On white

15.26
#221070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#221070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221070
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221070#FFFFFF#000000##FFFFFF
##2210701.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221070;
/* rgb */ color: rgb(34, 16, 112);
/* oklch */ color: oklch(28.3% 0.150 279.4);
Tailwind
colors: {
  custom: {
    50: '#6a529a',
    500: '#221070',
    950: '#000000',
  },
}
SCSS
$custom: #221070;
$custom-light: #6a529a;
$custom-dark: #000000;
JSON
{
  "hex": "#221070",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 251.25,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28286,
    "c": 0.14993,
    "h": 279.4
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#221070
secondary
#92A834
accent
#F236CE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #221070

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

Preview Lab → · Contrast checker → · Palette generator →

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