#221079#221079

#221079 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.161 H 277.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#221079
RGBrgb(34, 16, 121)
HSLhsl(250, 77%, 27%)
HSVhsv(250, 87%, 47%)
CMYKcmyk(71.9%, 86.8%, 0%, 52.5%)
CIE-LABlab(15.96, 40.35, -55.20)
CIE-LCHlch(15.96, 68.37, 306.17°)
OKLaboklab(29.37% 0.0214 -0.1594)
OKLCHoklch(29.37% 0.161 277.7)
XYZxyz(4.2951, 2.0908, 18.2627)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221079 #677910
analogous
#103379 #221079 #571079
triadic
#221079 #792210 #107922
tetradic
#221079 #791033 #677910 #107957
square
#221079 #791033 #677910 #107957
split-complementary
#221079 #795710 #337910
monochromatic
#08041B #130943 #221079 #3117AF #4322E2

Accessibility & contrast

On white

14.81
#221079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#221079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221079
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221079#FFFFFF#000000##FFFFFF
##2210791.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221079;
/* rgb */ color: rgb(34, 16, 121);
/* oklch */ color: oklch(29.4% 0.161 277.7);
Tailwind
colors: {
  custom: {
    50: '#6c53a1',
    500: '#221079',
    950: '#000000',
  },
}
SCSS
$custom: #221079;
$custom-light: #6c53a1;
$custom-dark: #000000;
JSON
{
  "hex": "#221079",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 121
  },
  "hsl": {
    "h": 250.286,
    "s": 76.642,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29374,
    "c": 0.16088,
    "h": 277.7
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#221079
secondary
#9BB035
accent
#F335D3
background
#F7F4FA
surface
#EDE7F3
border
#C8C3CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221079

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

Preview Lab → · Contrast checker → · Palette generator →

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