#221368#221368

#221368 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.137 H 280.7°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#221368
RGBrgb(34, 19, 104)
HSLhsl(251, 69%, 24%)
HSVhsv(251, 82%, 41%)
CMYKcmyk(67.3%, 81.7%, 0%, 59.2%)
CIE-LABlab(14.43, 33.43, -46.68)
CIE-LCHlch(14.43, 57.42, 305.61°)
OKLaboklab(27.72% 0.0254 -0.1347)
OKLCHoklch(27.72% 0.137 280.7)
XYZxyz(3.3905, 1.8050, 13.2638)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221368 #596813
analogous
#132F68 #221368 #4D1368
triadic
#221368 #682213 #136822
tetradic
#221368 #68132F #596813 #13684D
square
#221368 #68132F #596813 #13684D
split-complementary
#221368 #684D13 #2F6813
monochromatic
#08051A #110A34 #221368 #331C9C #4426CF

Accessibility & contrast

On white

15.43
#221368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221368
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221368#FFFFFF#000000##FFFFFF
##2213681.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221368;
/* rgb */ color: rgb(34, 19, 104);
/* oklch */ color: oklch(27.7% 0.137 280.7);
Tailwind
colors: {
  custom: {
    50: '#685394',
    500: '#221368',
    950: '#000000',
  },
}
SCSS
$custom: #221368;
$custom-light: #685394;
$custom-dark: #000000;
JSON
{
  "hex": "#221368",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 250.588,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27718,
    "c": 0.13709,
    "h": 280.7
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#221368
secondary
#8D9F37
accent
#EC3CCD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221368

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

Preview Lab → · Contrast checker → · Palette generator →

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