#22144E#22144E

#22144E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.101 H 288.0°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#22144E
RGBrgb(34, 20, 78)
HSLhsl(254, 59%, 19%)
HSVhsv(254, 74%, 31%)
CMYKcmyk(56.4%, 74.4%, 0%, 69.4%)
CIE-LABlab(11.89, 24.07, -33.36)
CIE-LCHlch(11.89, 41.14, 305.81°)
OKLaboklab(25.09% 0.031 -0.0957)
OKLCHoklch(25.09% 0.101 288)
XYZxyz(2.2846, 1.3903, 7.3542)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22144E #404E14
analogous
#14234E #22144E #3F144E
triadic
#22144E #4E2214 #144E22
tetradic
#22144E #4E1423 #404E14 #144E3F
square
#22144E #4E1423 #404E14 #144E3F
split-complementary
#22144E #4E3F14 #234E14
monochromatic
#0B0618 #0D081D #22144E #37207F #4C2DAF

Accessibility & contrast

On white

16.43
#22144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#22144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22144E
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22144E#FFFFFF#000000##FFFFFF
##22144E1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#12232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #22144e;
/* rgb */ color: rgb(34, 20, 78);
/* oklch */ color: oklch(25.1% 0.101 288.0);
Tailwind
colors: {
  custom: {
    50: '#625280',
    500: '#22144e',
    950: '#000000',
  },
}
SCSS
$custom: #22144e;
$custom-light: #625280;
$custom-dark: #000000;
JSON
{
  "hex": "#22144e",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 254.483,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25089,
    "c": 0.10065,
    "h": 288
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#22144E
secondary
#738638
accent
#E245BC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22144E

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

Preview Lab → · Contrast checker → · Palette generator →

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