#4D24AE#4D24AE

#4D24AE is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.200 H 287.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4D24AE
RGBrgb(77, 36, 174)
HSLhsl(258, 66%, 41%)
HSVhsv(258, 79%, 68%)
CMYKcmyk(55.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(29.15, 51.48, -66.09)
CIE-LCHlch(29.15, 83.77, 307.91°)
OKLaboklab(41.25% 0.0604 -0.1902)
OKLCHoklch(41.25% 0.2 287.6)
XYZxyz(11.3292, 5.8949, 40.5771)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D24AE #85AE24
analogous
#2440AE #4D24AE #9224AE
triadic
#4D24AE #AE4D24 #24AE4D
tetradic
#4D24AE #AE2440 #85AE24 #24AE92
square
#4D24AE #AE2440 #85AE24 #24AE92
split-complementary
#4D24AE #AE9224 #40AE24
monochromatic
#200F49 #371A7B #4D24AE #6839D6 #8F6CE1

Accessibility & contrast

On white

9.64
#4D24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D24AE
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D24AE#FFFFFF#000000##FFFFFF
##4D24AE1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#224C69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d24ae;
/* rgb */ color: rgb(77, 36, 174);
/* oklch */ color: oklch(41.3% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#8a64c7',
    500: '#4d24ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d24ae;
$custom-light: #8a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d24ae",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 257.826,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.19958,
    "h": 287.6
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#4D24AE
secondary
#AAC767
accent
#E93FB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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