#4D2E85#4D2E85

#4D2E85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 295.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4D2E85
RGBrgb(77, 46, 133)
HSLhsl(261, 49%, 35%)
HSVhsv(261, 65%, 52%)
CMYKcmyk(42.1%, 65.4%, 0%, 47.8%)
CIE-LABlab(27.37, 34.64, -43.92)
CIE-LCHlch(27.37, 55.94, 308.26°)
OKLaboklab(38.88% 0.0601 -0.1252)
OKLCHoklch(38.88% 0.139 295.6)
XYZxyz(8.2701, 5.2250, 22.7586)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E85 #66852E
analogous
#2E3B85 #4D2E85 #782E85
triadic
#4D2E85 #854D2E #2E854D
tetradic
#4D2E85 #852E3B #66852E #2E8578
square
#4D2E85 #852E3B #66852E #2E8578
split-complementary
#4D2E85 #85782E #3B852E
monochromatic
#180F2A #331E58 #4D2E85 #673EB2 #8864C9

Accessibility & contrast

On white

10.27
#4D2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E85
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E85#FFFFFF#000000##FFFFFF
##4D2E851.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#3F4255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2e85;
/* rgb */ color: rgb(77, 46, 133);
/* oklch */ color: oklch(38.9% 0.139 295.6);
Tailwind
colors: {
  custom: {
    50: '#8368a9',
    500: '#4d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e85;
$custom-light: #8368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e85",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 261.379,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.13891,
    "h": 295.6
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#4D2E85
secondary
#93B05F
accent
#D850A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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