#221367#221367

#221367 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.136 H 280.9°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#221367
RGBrgb(34, 19, 103)
HSLhsl(251, 69%, 24%)
HSVhsv(251, 82%, 40%)
CMYKcmyk(67%, 81.6%, 0%, 59.6%)
CIE-LABlab(14.31, 33.10, -46.21)
CIE-LCHlch(14.31, 56.84, 305.62°)
OKLaboklab(27.6% 0.0257 -0.1333)
OKLCHoklch(27.6% 0.136 280.9)
XYZxyz(3.3400, 1.7848, 12.9978)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221367 #586713
analogous
#132E67 #221367 #4C1367
triadic
#221367 #672213 #136722
tetradic
#221367 #67132E #586713 #13674C
square
#221367 #67132E #586713 #13674C
split-complementary
#221367 #674C13 #2E6713
monochromatic
#09051A #110933 #221367 #331D9B #4426CE

Accessibility & contrast

On white

15.48
#221367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#221367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221367
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221367#FFFFFF#000000##FFFFFF
##2213671.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221367;
/* rgb */ color: rgb(34, 19, 103);
/* oklch */ color: oklch(27.6% 0.136 280.9);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#221367',
    950: '#000000',
  },
}
SCSS
$custom: #221367;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#221367",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 250.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27604,
    "c": 0.1358,
    "h": 280.9
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#221367
secondary
#8C9E37
accent
#EC3CCC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221367

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

Preview Lab → · Contrast checker → · Palette generator →

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