#4D22AE#4D22AE

#4D22AE is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.201 H 287.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4D22AE
RGBrgb(77, 34, 174)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 68%)
CMYKcmyk(55.7%, 80.5%, 0%, 31.8%)
CIE-LABlab(28.84, 52.35, -66.59)
CIE-LCHlch(28.84, 84.70, 308.18°)
OKLaboklab(41.04% 0.0617 -0.1916)
OKLCHoklch(41.04% 0.201 287.9)
XYZxyz(11.2703, 5.7772, 40.5574)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D22AE #83AE22
analogous
#223DAE #4D22AE #9322AE
triadic
#4D22AE #AE4D22 #22AE4D
tetradic
#4D22AE #AE223D #83AE22 #22AE93
square
#4D22AE #AE223D #83AE22 #22AE93
split-complementary
#4D22AE #AE9322 #3DAE22
monochromatic
#200E48 #36187B #4D22AE #6736D8 #8E69E2

Accessibility & contrast

On white

9.74
#4D22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4D22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D22AE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D22AE#FFFFFF#000000##FFFFFF
##4D22AE1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#224C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d22ae;
/* rgb */ color: rgb(77, 34, 174);
/* oklch */ color: oklch(41.0% 0.201 287.9);
Tailwind
colors: {
  custom: {
    50: '#8a63c7',
    500: '#4d22ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d22ae;
$custom-light: #8a63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d22ae",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 258.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.20134,
    "h": 287.9
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#4D22AE
secondary
#A9C764
accent
#EA3EB5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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