#4D2385#4D2385

#4D2385 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.154 H 298.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4D2385
RGBrgb(77, 35, 133)
HSLhsl(266, 58%, 33%)
HSVhsv(266, 74%, 52%)
CMYKcmyk(42.1%, 73.7%, 0%, 47.8%)
CIE-LABlab(25.18, 40.66, -47.48)
CIE-LCHlch(25.18, 62.51, 310.58°)
OKLaboklab(37.31% 0.0723 -0.1357)
OKLCHoklch(37.31% 0.154 298.1)
XYZxyz(7.8941, 4.4732, 22.6333)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2385 #5B8523
analogous
#232A85 #4D2385 #7E2385
triadic
#4D2385 #854D23 #23854D
tetradic
#4D2385 #85232A #5B8523 #23857E
square
#4D2385 #85232A #5B8523 #23857E
split-complementary
#4D2385 #857E23 #2A8523
monochromatic
#150924 #311655 #4D2385 #6930B5 #8851D1

Accessibility & contrast

On white

11.08
#4D2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2385
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2385#FFFFFF#000000##FFFFFF
##4D23851.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2385;
/* rgb */ color: rgb(77, 35, 133);
/* oklch */ color: oklch(37.3% 0.154 298.1);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4d2385',
    950: '#000000',
  },
}
SCSS
$custom: #4d2385;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2385",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.15374,
    "h": 298.1
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#4D2385
secondary
#89B54F
accent
#E2469F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2385

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

Preview Lab → · Contrast checker → · Palette generator →

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