#4D285B#4D285B

#4D285B is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.9% C 0.095 H 316.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4D285B
RGBrgb(77, 40, 91)
HSLhsl(284, 39%, 26%)
HSVhsv(284, 56%, 36%)
CMYKcmyk(15.4%, 56%, 0%, 64.3%)
CIE-LABlab(23.17, 26.95, -23.70)
CIE-LCHlch(23.17, 35.89, 318.67°)
OKLaboklab(34.89% 0.0683 -0.066)
OKLCHoklch(34.89% 0.095 316)
XYZxyz(5.7074, 3.8509, 10.3381)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D285B #365B28
analogous
#33285B #4D285B #5B284F
triadic
#4D285B #5B4D28 #285B4D
tetradic
#4D285B #5B3328 #365B28 #284F5B
square
#4D285B #5B3328 #365B28 #284F5B
split-complementary
#4D285B #4F5B28 #285B33
monochromatic
#120915 #291530 #4D285B #713B86 #954DB0

Accessibility & contrast

On white

11.86
#4D285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4D285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D285B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D285B#FFFFFF#000000##FFFFFF
##4D285B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355D
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#4C303D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4d285b;
/* rgb */ color: rgb(77, 40, 91);
/* oklch */ color: oklch(34.9% 0.095 316.0);
Tailwind
colors: {
  custom: {
    50: '#806389',
    500: '#4d285b',
    950: '#000000',
  },
}
SCSS
$custom: #4d285b;
$custom-light: #806389;
$custom-dark: #000000;
JSON
{
  "hex": "#4d285b",
  "rgb": {
    "r": 77,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 283.529,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.09499,
    "h": 316
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#4D285B
secondary
#628E51
accent
#CF5979
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4D285B

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

Preview Lab → · Contrast checker → · Palette generator →

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