#221366#221366

#221366 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.135 H 281.1°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#221366
RGBrgb(34, 19, 102)
HSLhsl(251, 69%, 24%)
HSVhsv(251, 81%, 40%)
CMYKcmyk(66.7%, 81.4%, 0%, 60%)
CIE-LABlab(14.20, 32.77, -45.74)
CIE-LCHlch(14.20, 56.27, 305.62°)
OKLaboklab(27.49% 0.026 -0.132)
OKLCHoklch(27.49% 0.135 281.1)
XYZxyz(3.2901, 1.7649, 12.7351)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221366 #576613
analogous
#132D66 #221366 #4B1366
triadic
#221366 #662213 #136622
tetradic
#221366 #66132D #576613 #13664B
square
#221366 #66132D #576613 #13664B
split-complementary
#221366 #664B13 #2D6613
monochromatic
#09051A #110932 #221366 #331D9A #4426CD

Accessibility & contrast

On white

15.52
#221366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#221366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221366
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221366#FFFFFF#000000##FFFFFF
##2213661.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221366;
/* rgb */ color: rgb(34, 19, 102);
/* oklch */ color: oklch(27.5% 0.135 281.1);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#221366',
    950: '#000000',
  },
}
SCSS
$custom: #221366;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#221366",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 250.843,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27491,
    "c": 0.13451,
    "h": 281.1
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#221366
secondary
#8B9D37
accent
#EB3CCC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221366

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

Preview Lab → · Contrast checker → · Palette generator →

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