#4D2485#4D2485

#4D2485 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.152 H 297.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4D2485
RGBrgb(77, 36, 133)
HSLhsl(265, 57%, 33%)
HSVhsv(265, 73%, 52%)
CMYKcmyk(42.1%, 72.9%, 0%, 47.8%)
CIE-LABlab(25.36, 40.15, -47.18)
CIE-LCHlch(25.36, 61.95, 310.40°)
OKLaboklab(37.44% 0.0713 -0.1348)
OKLCHoklch(37.44% 0.152 297.9)
XYZxyz(7.9240, 4.5329, 22.6432)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2485 #5C8524
analogous
#242B85 #4D2485 #7D2485
triadic
#4D2485 #854D24 #24854D
tetradic
#4D2485 #85242B #5C8524 #24857D
square
#4D2485 #85242B #5C8524 #24857D
split-complementary
#4D2485 #857D24 #2B8524
monochromatic
#150A25 #311755 #4D2485 #6931B5 #8853D0

Accessibility & contrast

On white

11.01
#4D2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2485
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2485#FFFFFF#000000##FFFFFF
##4D24851.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3F3C52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2485;
/* rgb */ color: rgb(77, 36, 133);
/* oklch */ color: oklch(37.4% 0.152 297.9);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4d2485',
    950: '#000000',
  },
}
SCSS
$custom: #4d2485;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2485",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 265.361,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.15249,
    "h": 297.9
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#4D2485
secondary
#8AB450
accent
#E147A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2485

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

Preview Lab → · Contrast checker → · Palette generator →

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