#4E22B3#4E22B3

#4E22B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.207 H 287.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4E22B3
RGBrgb(78, 34, 179)
HSLhsl(258, 68%, 42%)
HSVhsv(258, 81%, 70%)
CMYKcmyk(56.4%, 81%, 0%, 29.8%)
CIE-LABlab(29.46, 53.83, -68.56)
CIE-LCHlch(29.46, 87.17, 308.14°)
OKLaboklab(41.65% 0.0616 -0.1974)
OKLCHoklch(41.65% 0.207 287.3)
XYZxyz(11.8482, 6.0178, 43.1763)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E22B3 #87B322
analogous
#223FB3 #4E22B3 #9722B3
triadic
#4E22B3 #B34E22 #22B34E
tetradic
#4E22B3 #B3223F #87B322 #22B397
square
#4E22B3 #B3223F #87B322 #22B397
split-complementary
#4E22B3 #B39722 #3FB322
monochromatic
#210E4C #381880 #4E22B3 #6A39D9 #906CE3

Accessibility & contrast

On white

9.53
#4E22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E22B3
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E22B3#FFFFFF#000000##FFFFFF
##4E22B31.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#1F4E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e22b3;
/* rgb */ color: rgb(78, 34, 179);
/* oklch */ color: oklch(41.6% 0.207 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c64cb',
    500: '#4e22b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e22b3;
$custom-light: #8c64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e22b3",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 258.207,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.20678,
    "h": 287.3
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#4E22B3
secondary
#ACC968
accent
#EB3DB6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E22B3

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

Preview Lab → · Contrast checker → · Palette generator →

#4E22B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva