#4E22C9#4E22C9

#4E22C9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.231 H 283.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4E22C9
RGBrgb(78, 34, 201)
HSLhsl(256, 71%, 46%)
HSVhsv(256, 83%, 79%)
CMYKcmyk(61.2%, 83.1%, 0%, 21.2%)
CIE-LABlab(31.76, 59.78, -77.74)
CIE-LCHlch(31.76, 98.07, 307.56°)
OKLaboklab(43.91% 0.0541 -0.2242)
OKLCHoklch(43.91% 0.231 283.6)
XYZxyz(14.2533, 6.9798, 55.8432)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E22C9 #9DC922
analogous
#224AC9 #4E22C9 #A122C9
triadic
#4E22C9 #C94E22 #22C94E
tetradic
#4E22C9 #C9224A #9DC922 #22C9A1
square
#4E22C9 #C9224A #9DC922 #22C9A1
split-complementary
#4E22C9 #C9A122 #4AC922
monochromatic
#251060 #3A1995 #4E22C9 #7048E0 #997CE9

Accessibility & contrast

On white

8.76
#4E22C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E22C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E22C9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E22C9#FFFFFF#000000##FFFFFF
##4E22C91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#005778
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e22c9;
/* rgb */ color: rgb(78, 34, 201);
/* oklch */ color: oklch(43.9% 0.231 283.6);
Tailwind
colors: {
  custom: {
    50: '#8f65db',
    500: '#4e22c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e22c9;
$custom-light: #8f65db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e22c9",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 201
  },
  "hsl": {
    "h": 255.808,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.23059,
    "h": 283.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#4E22C9
secondary
#B9D176
accent
#EE3ABE
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4E22C9

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

Preview Lab → · Contrast checker → · Palette generator →

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