#221249#221249

#221249 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.096 H 290.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#221249
RGBrgb(34, 18, 73)
HSLhsl(257, 60%, 18%)
HSVhsv(257, 75%, 29%)
CMYKcmyk(53.4%, 75.3%, 0%, 71.4%)
CIE-LABlab(10.95, 23.66, -31.44)
CIE-LCHlch(10.95, 39.35, 306.97°)
OKLaboklab(24.26% 0.0342 -0.0901)
OKLCHoklch(24.26% 0.096 290.8)
XYZxyz(2.0783, 1.2537, 6.4345)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221249 #394912
analogous
#121D49 #221249 #3E1249
triadic
#221249 #492212 #124922
tetradic
#221249 #49121D #394912 #12493E
square
#221249 #49121D #394912 #12493E
split-complementary
#221249 #493E12 #1D4912
monochromatic
#0B0619 #0B0619 #221249 #391E7A #502AAB

Accessibility & contrast

On white

16.79
#221249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#221249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221249
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221249#FFFFFF#000000##FFFFFF
##2212491.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#15202B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #221249;
/* rgb */ color: rgb(34, 18, 73);
/* oklch */ color: oklch(24.3% 0.096 290.8);
Tailwind
colors: {
  custom: {
    50: '#62517c',
    500: '#221249',
    950: '#000000',
  },
}
SCSS
$custom: #221249;
$custom-light: #62517c;
$custom-dark: #000000;
JSON
{
  "hex": "#221249",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 257.455,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24261,
    "c": 0.09638,
    "h": 290.8
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#221249
secondary
#6C8235
accent
#E444B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #221249

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

Preview Lab → · Contrast checker → · Palette generator →

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