#221150#221150

#221150 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.107 H 288.3°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#221150
RGBrgb(34, 17, 80)
HSLhsl(256, 65%, 19%)
HSVhsv(256, 79%, 31%)
CMYKcmyk(57.5%, 78.8%, 0%, 68.6%)
CIE-LABlab(11.42, 26.61, -35.51)
CIE-LCHlch(11.42, 44.38, 306.85°)
OKLaboklab(24.81% 0.0338 -0.1021)
OKLCHoklch(24.81% 0.108 288.3)
XYZxyz(2.3077, 1.3201, 7.7211)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221150 #3F5011
analogous
#112050 #221150 #421150
triadic
#221150 #502211 #115022
tetradic
#221150 #501120 #3F5011 #115042
square
#221150 #501120 #3F5011 #115042
split-complementary
#221150 #504211 #205011
monochromatic
#0B0519 #0D061E #221150 #371C82 #4D26B5

Accessibility & contrast

On white

16.61
#221150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#221150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221150
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221150#FFFFFF#000000##FFFFFF
##2211501.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#10222F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #221150;
/* rgb */ color: rgb(34, 17, 80);
/* oklch */ color: oklch(24.8% 0.107 288.3);
Tailwind
colors: {
  custom: {
    50: '#635182',
    500: '#221150',
    950: '#000000',
  },
}
SCSS
$custom: #221150;
$custom-light: #635182;
$custom-dark: #000000;
JSON
{
  "hex": "#221150",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 256.19,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24809,
    "c": 0.1075,
    "h": 288.3
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#221150
secondary
#728933
accent
#E840BB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #221150

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

Preview Lab → · Contrast checker → · Palette generator →

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