#22134E#22134E

#22134E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.102 H 288.4°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#22134E
RGBrgb(34, 19, 78)
HSLhsl(255, 61%, 19%)
HSVhsv(255, 76%, 31%)
CMYKcmyk(56.4%, 75.6%, 0%, 69.4%)
CIE-LABlab(11.66, 24.71, -33.74)
CIE-LCHlch(11.66, 41.82, 306.22°)
OKLaboklab(24.92% 0.0321 -0.0969)
OKLCHoklch(24.92% 0.102 288.4)
XYZxyz(2.2673, 1.3558, 7.3485)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22134E #3F4E13
analogous
#13224E #22134E #40134E
triadic
#22134E #4E2213 #134E22
tetradic
#22134E #4E1322 #3F4E13 #134E40
square
#22134E #4E1322 #3F4E13 #134E40
split-complementary
#22134E #4E4013 #224E13
monochromatic
#0B0619 #0D071D #22134E #371F7F #4D2BB0

Accessibility & contrast

On white

16.52
#22134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22134E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22134E#FFFFFF#000000##FFFFFF
##22134E1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#12222E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #22134e;
/* rgb */ color: rgb(34, 19, 78);
/* oklch */ color: oklch(24.9% 0.102 288.4);
Tailwind
colors: {
  custom: {
    50: '#625280',
    500: '#22134e',
    950: '#000000',
  },
}
SCSS
$custom: #22134e;
$custom-light: #625280;
$custom-dark: #000000;
JSON
{
  "hex": "#22134e",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 255.254,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24922,
    "c": 0.10205,
    "h": 288.4
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#22134E
secondary
#728736
accent
#E444BB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22134E

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

Preview Lab → · Contrast checker → · Palette generator →

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