#22136C#22136C

#22136C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.142 H 279.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#22136C
RGBrgb(34, 19, 108)
HSLhsl(250, 70%, 25%)
HSVhsv(250, 82%, 42%)
CMYKcmyk(68.5%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.89, 34.75, -48.54)
CIE-LCHlch(14.89, 59.70, 305.60°)
OKLaboklab(28.18% 0.0242 -0.1401)
OKLCHoklch(28.18% 0.142 279.8)
XYZxyz(3.5985, 1.8882, 14.3593)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22136C #5D6C13
analogous
#13316C #22136C #4E136C
triadic
#22136C #6C2213 #136C22
tetradic
#22136C #6C1331 #5D6C13 #136C4E
square
#22136C #6C1331 #5D6C13 #136C4E
split-complementary
#22136C #6C4E13 #316C13
monochromatic
#08051A #120A38 #22136C #321CA0 #4325D4

Accessibility & contrast

On white

15.24
#22136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#22136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22136C
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22136C#FFFFFF#000000##FFFFFF
##22136C1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22136c;
/* rgb */ color: rgb(34, 19, 108);
/* oklch */ color: oklch(28.2% 0.142 279.8);
Tailwind
colors: {
  custom: {
    50: '#695397',
    500: '#22136c',
    950: '#000000',
  },
}
SCSS
$custom: #22136c;
$custom-light: #695397;
$custom-dark: #000000;
JSON
{
  "hex": "#22136c",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 250.112,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28176,
    "c": 0.14222,
    "h": 279.8
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#22136C
secondary
#91A338
accent
#ED3BCF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22136C

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

Preview Lab → · Contrast checker → · Palette generator →

#22136C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva