#4D2C85#4D2C85

#4D2C85 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.142 H 296.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4D2C85
RGBrgb(77, 44, 133)
HSLhsl(262, 50%, 35%)
HSVhsv(262, 67%, 52%)
CMYKcmyk(42.1%, 66.9%, 0%, 47.8%)
CIE-LABlab(26.94, 35.79, -44.61)
CIE-LCHlch(26.94, 57.20, 308.74°)
OKLaboklab(38.57% 0.0624 -0.1273)
OKLCHoklch(38.57% 0.142 296.1)
XYZxyz(8.1938, 5.0724, 22.7331)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C85 #64852C
analogous
#2C3885 #4D2C85 #792C85
triadic
#4D2C85 #854D2C #2C854D
tetradic
#4D2C85 #852C38 #64852C #2C8579
square
#4D2C85 #852C38 #64852C #2C8579
split-complementary
#4D2C85 #85792C #38852C
monochromatic
#180E29 #321D57 #4D2C85 #683BB3 #8861CB

Accessibility & contrast

On white

10.42
#4D2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4D2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C85
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C85#FFFFFF#000000##FFFFFF
##4D2C851.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#3F4154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2c85;
/* rgb */ color: rgb(77, 44, 133);
/* oklch */ color: oklch(38.6% 0.142 296.1);
Tailwind
colors: {
  custom: {
    50: '#8467a9',
    500: '#4d2c85',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c85;
$custom-light: #8467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c85",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 262.247,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38569,
    "c": 0.14177,
    "h": 296.1
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#4D2C85
secondary
#91B15C
accent
#DA4EA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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