#22134F#22134F

#22134F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.103 H 288.0°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#22134F
RGBrgb(34, 19, 79)
HSLhsl(255, 61%, 19%)
HSVhsv(255, 76%, 31%)
CMYKcmyk(57%, 75.9%, 0%, 69%)
CIE-LABlab(11.76, 25.05, -34.27)
CIE-LCHlch(11.76, 42.44, 306.16°)
OKLaboklab(25.02% 0.0319 -0.0984)
OKLCHoklch(25.02% 0.103 288)
XYZxyz(2.3034, 1.3702, 7.5387)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22134F #404F13
analogous
#13224F #22134F #40134F
triadic
#22134F #4F2213 #134F22
tetradic
#22134F #4F1322 #404F13 #134F40
square
#22134F #4F1322 #404F13 #134F40
split-complementary
#22134F #4F4013 #224F13
monochromatic
#0B0619 #0D071E #22134F #371F80 #4C2BB2

Accessibility & contrast

On white

16.48
#22134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#22134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22134F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22134F#FFFFFF#000000##FFFFFF
##22134F1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#11222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #22134f;
/* rgb */ color: rgb(34, 19, 79);
/* oklch */ color: oklch(25.0% 0.103 288.0);
Tailwind
colors: {
  custom: {
    50: '#635281',
    500: '#22134f',
    950: '#000000',
  },
}
SCSS
$custom: #22134f;
$custom-light: #635281;
$custom-dark: #000000;
JSON
{
  "hex": "#22134f",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 255,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25022,
    "c": 0.10346,
    "h": 288
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#22134F
secondary
#738836
accent
#E443BC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #22134F

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

Preview Lab → · Contrast checker → · Palette generator →

#22134F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva