#22134A#22134A

#22134A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.096 H 289.9°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#22134A
RGBrgb(34, 19, 74)
HSLhsl(256, 59%, 18%)
HSVhsv(256, 74%, 29%)
CMYKcmyk(54.1%, 74.3%, 0%, 71%)
CIE-LABlab(11.28, 23.35, -31.60)
CIE-LCHlch(11.28, 39.29, 306.47°)
OKLaboklab(24.53% 0.0329 -0.0906)
OKLCHoklch(24.53% 0.096 289.9)
XYZxyz(2.1282, 1.3002, 6.6161)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22134A #3B4A13
analogous
#131F4A #22134A #3D134A
triadic
#22134A #4A2213 #134A22
tetradic
#22134A #4A131F #3B4A13 #134A3D
square
#22134A #4A131F #3B4A13 #134A3D
split-complementary
#22134A #4A3D13 #1F4A13
monochromatic
#0B0618 #0C0619 #22134A #38207B #4F2CAB

Accessibility & contrast

On white

16.67
#22134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#22134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22134A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22134A#FFFFFF#000000##FFFFFF
##22134A1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#15212C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #22134a;
/* rgb */ color: rgb(34, 19, 74);
/* oklch */ color: oklch(24.5% 0.096 289.9);
Tailwind
colors: {
  custom: {
    50: '#62527d',
    500: '#22134a',
    950: '#000000',
  },
}
SCSS
$custom: #22134a;
$custom-light: #62527d;
$custom-dark: #000000;
JSON
{
  "hex": "#22134a",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 256.364,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24527,
    "c": 0.09635,
    "h": 289.9
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#22134A
secondary
#6E8336
accent
#E245B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22134A

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

Preview Lab → · Contrast checker → · Palette generator →

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