#221136#221136

#221136 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.070 H 302.2°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#221136
RGBrgb(34, 17, 54)
HSLhsl(268, 52%, 14%)
HSVhsv(268, 69%, 21%)
CMYKcmyk(37%, 68.5%, 0%, 78.8%)
CIE-LABlab(9.05, 18.15, -21.02)
CIE-LCHlch(9.05, 27.77, 310.81°)
OKLaboklab(22.37% 0.0375 -0.0595)
OKLCHoklch(22.37% 0.07 302.2)
XYZxyz(1.5258, 1.0073, 3.6034)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221136 #253611
analogous
#111336 #221136 #351136
triadic
#221136 #362211 #113622
tetradic
#221136 #361113 #253611 #113635
square
#221136 #361113 #253611 #113635
split-complementary
#221136 #363511 #133611
monochromatic
#0F0717 #0F0717 #221136 #3F2065 #5D2E93

Accessibility & contrast

On white

17.48
#221136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#221136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221136
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221136#FFFFFF#000000##FFFFFF
##2211361.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031937
Deuteranopia (green-blind)
#081935
Tritanopia (blue-blind)
#1E1821
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #221136;
/* rgb */ color: rgb(34, 17, 54);
/* oklch */ color: oklch(22.4% 0.070 302.2);
Tailwind
colors: {
  custom: {
    50: '#5f4f6d',
    500: '#221136',
    950: '#000000',
  },
}
SCSS
$custom: #221136;
$custom-light: #5f4f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#221136",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 267.568,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22368,
    "c": 0.0703,
    "h": 302.2
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#221136
secondary
#546F34
accent
#DC4C9A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #221136

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

Preview Lab → · Contrast checker → · Palette generator →

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