#4D2585#4D2585

#4D2585 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.151 H 297.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#4D2585
RGBrgb(77, 37, 133)
HSLhsl(265, 56%, 33%)
HSVhsv(265, 72%, 52%)
CMYKcmyk(42.1%, 72.2%, 0%, 47.8%)
CIE-LABlab(25.55, 39.63, -46.88)
CIE-LCHlch(25.55, 61.39, 310.21°)
OKLaboklab(37.57% 0.0703 -0.1339)
OKLCHoklch(37.57% 0.151 297.7)
XYZxyz(7.9547, 4.5942, 22.6534)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2585 #5D8525
analogous
#252D85 #4D2585 #7D2585
triadic
#4D2585 #854D25 #25854D
tetradic
#4D2585 #85252D #5D8525 #25857D
square
#4D2585 #85252D #5D8525 #25857D
split-complementary
#4D2585 #857D25 #2D8525
monochromatic
#160A25 #311855 #4D2585 #6932B5 #8855D0

Accessibility & contrast

On white

10.94
#4D2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2585
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2585#FFFFFF#000000##FFFFFF
##4D25851.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3F3D52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2585;
/* rgb */ color: rgb(77, 37, 133);
/* oklch */ color: oklch(37.6% 0.151 297.7);
Tailwind
colors: {
  custom: {
    50: '#8463a9',
    500: '#4d2585',
    950: '#000000',
  },
}
SCSS
$custom: #4d2585;
$custom-light: #8463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2585",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 265,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.15122,
    "h": 297.7
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#4D2585
secondary
#8BB452
accent
#E048A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2585

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

Preview Lab → · Contrast checker → · Palette generator →

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