#4D24B3#4D24B3

#4D24B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.205 H 286.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4D24B3
RGBrgb(77, 36, 179)
HSLhsl(257, 67%, 42%)
HSVhsv(257, 80%, 70%)
CMYKcmyk(57%, 79.9%, 0%, 29.8%)
CIE-LABlab(29.65, 52.86, -68.25)
CIE-LCHlch(29.65, 86.33, 307.76°)
OKLaboklab(41.75% 0.0588 -0.1965)
OKLCHoklch(41.75% 0.205 286.7)
XYZxyz(11.8257, 6.0935, 43.1921)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D24B3 #8AB324
analogous
#2442B3 #4D24B3 #9524B3
triadic
#4D24B3 #B34D24 #24B34D
tetradic
#4D24B3 #B32442 #8AB324 #24B395
square
#4D24B3 #B32442 #8AB324 #24B395
split-complementary
#4D24B3 #B39524 #42B324
monochromatic
#21104D #371A80 #4D24B3 #693CD8 #906FE2

Accessibility & contrast

On white

9.46
#4D24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D24B3
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D24B3#FFFFFF#000000##FFFFFF
##4D24B31.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#1B4E6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d24b3;
/* rgb */ color: rgb(77, 36, 179);
/* oklch */ color: oklch(41.8% 0.205 286.7);
Tailwind
colors: {
  custom: {
    50: '#8b65cb',
    500: '#4d24b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d24b3;
$custom-light: #8b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d24b3",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 257.203,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.20515,
    "h": 286.7
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#4D24B3
secondary
#AEC96A
accent
#E93EB8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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