#4D2D89#4D2D89

#4D2D89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.145 H 294.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4D2D89
RGBrgb(77, 45, 137)
HSLhsl(261, 51%, 36%)
HSVhsv(261, 67%, 54%)
CMYKcmyk(43.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(27.46, 36.36, -46.26)
CIE-LCHlch(27.46, 58.84, 308.17°)
OKLaboklab(39.05% 0.0608 -0.1321)
OKLCHoklch(39.05% 0.145 294.7)
XYZxyz(8.5131, 5.2605, 24.2289)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D89 #69892D
analogous
#2D3B89 #4D2D89 #7B2D89
triadic
#4D2D89 #894D2D #2D894D
tetradic
#4D2D89 #892D3B #69892D #2D897B
square
#4D2D89 #892D3B #69892D #2D897B
split-complementary
#4D2D89 #897B2D #3B892D
monochromatic
#190F2D #331E5B #4D2D89 #673CB7 #8864CC

Accessibility & contrast

On white

10.23
#4D2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2D89
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D89#FFFFFF#000000##FFFFFF
##4D2D891.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#3D4357
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2d89;
/* rgb */ color: rgb(77, 45, 137);
/* oklch */ color: oklch(39.0% 0.145 294.7);
Tailwind
colors: {
  custom: {
    50: '#8468ac',
    500: '#4d2d89',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d89;
$custom-light: #8468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d89",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 260.87,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.14544,
    "h": 294.7
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#4D2D89
secondary
#96B35F
accent
#DA4EA9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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