#4D24AF#4D24AF

#4D24AF is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.201 H 287.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4D24AF
RGBrgb(77, 36, 175)
HSLhsl(258, 66%, 41%)
HSVhsv(258, 79%, 69%)
CMYKcmyk(56%, 79.4%, 0%, 31.4%)
CIE-LABlab(29.25, 51.75, -66.52)
CIE-LCHlch(29.25, 84.28, 307.88°)
OKLaboklab(41.35% 0.0601 -0.1915)
OKLCHoklch(41.35% 0.201 287.4)
XYZxyz(11.4270, 5.9341, 41.0924)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D24AF #86AF24
analogous
#2441AF #4D24AF #9324AF
triadic
#4D24AF #AF4D24 #24AF4D
tetradic
#4D24AF #AF2441 #86AF24 #24AF93
square
#4D24AF #AF2441 #86AF24 #24AF93
split-complementary
#4D24AF #AF9324 #41AF24
monochromatic
#200F49 #371A7C #4D24AF #683AD6 #8F6DE1

Accessibility & contrast

On white

9.60
#4D24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4D24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D24AF
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D24AF#FFFFFF#000000##FFFFFF
##4D24AF1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#214D6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d24af;
/* rgb */ color: rgb(77, 36, 175);
/* oklch */ color: oklch(41.4% 0.201 287.4);
Tailwind
colors: {
  custom: {
    50: '#8a65c8',
    500: '#4d24af',
    950: '#000000',
  },
}
SCSS
$custom: #4d24af;
$custom-light: #8a65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d24af",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 257.698,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.2007,
    "h": 287.4
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#4D24AF
secondary
#ABC768
accent
#E93FB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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