#221250#221250

#221250 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.106 H 288.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#221250
RGBrgb(34, 18, 80)
HSLhsl(255, 63%, 19%)
HSVhsv(255, 78%, 31%)
CMYKcmyk(57.5%, 77.5%, 0%, 68.6%)
CIE-LABlab(11.63, 26.00, -35.16)
CIE-LCHlch(11.63, 43.73, 306.49°)
OKLaboklab(24.96% 0.0328 -0.101)
OKLCHoklch(24.96% 0.106 288)
XYZxyz(2.3235, 1.3518, 7.7263)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221250 #405012
analogous
#122150 #221250 #411250
triadic
#221250 #502212 #125022
tetradic
#221250 #501221 #405012 #125041
square
#221250 #501221 #405012 #125041
split-complementary
#221250 #504112 #215012
monochromatic
#0B0619 #0D071E #221250 #371D82 #4C28B4

Accessibility & contrast

On white

16.53
#221250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#221250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221250
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221250#FFFFFF#000000##FFFFFF
##2212501.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221250;
/* rgb */ color: rgb(34, 18, 80);
/* oklch */ color: oklch(25.0% 0.106 288.0);
Tailwind
colors: {
  custom: {
    50: '#635182',
    500: '#221250',
    950: '#000000',
  },
}
SCSS
$custom: #221250;
$custom-light: #635182;
$custom-dark: #000000;
JSON
{
  "hex": "#221250",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 255.484,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24963,
    "c": 0.1062,
    "h": 288
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#221250
secondary
#738935
accent
#E641BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #221250

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

Preview Lab → · Contrast checker → · Palette generator →

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