#221135#221135

#221135 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.069 H 303.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#221135
RGBrgb(34, 17, 53)
HSLhsl(268, 51%, 14%)
HSVhsv(268, 68%, 21%)
CMYKcmyk(35.8%, 67.9%, 0%, 79.2%)
CIE-LABlab(8.97, 17.84, -20.42)
CIE-LCHlch(8.97, 27.11, 311.15°)
OKLaboklab(22.29% 0.0375 -0.0577)
OKLCHoklch(22.29% 0.069 303)
XYZxyz(1.5026, 0.9980, 3.4809)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221135 #243511
analogous
#111235 #221135 #341135
triadic
#221135 #352211 #113522
tetradic
#221135 #351112 #243511 #113534
square
#221135 #351112 #243511 #113534
split-complementary
#221135 #353411 #123511
monochromatic
#0F0717 #0F0717 #221135 #402063 #5D2F92

Accessibility & contrast

On white

17.51
#221135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221135
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221135#FFFFFF#000000##FFFFFF
##2211351.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#091934
Tritanopia (blue-blind)
#1E1820
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #221135;
/* rgb */ color: rgb(34, 17, 53);
/* oklch */ color: oklch(22.3% 0.069 303.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f6c',
    500: '#221135',
    950: '#000000',
  },
}
SCSS
$custom: #221135;
$custom-light: #5f4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#221135",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 268.333,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22286,
    "c": 0.06881,
    "h": 303
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#221135
secondary
#536E34
accent
#DB4D98
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #221135

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

Preview Lab → · Contrast checker → · Palette generator →

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