#4D2A75#4D2A75

#4D2A75 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.124 H 302.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4D2A75
RGBrgb(77, 42, 117)
HSLhsl(268, 47%, 31%)
HSVhsv(268, 64%, 46%)
CMYKcmyk(34.2%, 64.1%, 0%, 54.1%)
CIE-LABlab(25.31, 32.48, -37.14)
CIE-LCHlch(25.31, 49.34, 311.17°)
OKLaboklab(37.01% 0.0662 -0.1053)
OKLCHoklch(37.01% 0.124 302.2)
XYZxyz(7.0987, 4.5180, 17.3243)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2A75 #52752A
analogous
#2A2C75 #4D2A75 #722A75
triadic
#4D2A75 #754D2A #2A754D
tetradic
#4D2A75 #752A2C #52752A #2A7572
square
#4D2A75 #752A2C #52752A #2A7572
split-complementary
#4D2A75 #75722A #2C752A
monochromatic
#120A1B #2F1A48 #4D2A75 #6B3AA2 #8957C3

Accessibility & contrast

On white

11.03
#4D2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2A75
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2A75#FFFFFF#000000##FFFFFF
##4D2A751.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#133C73
Tritanopia (blue-blind)
#453A4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2a75;
/* rgb */ color: rgb(77, 42, 117);
/* oklch */ color: oklch(37.0% 0.124 302.2);
Tailwind
colors: {
  custom: {
    50: '#82659d',
    500: '#4d2a75',
    950: '#000000',
  },
}
SCSS
$custom: #4d2a75;
$custom-light: #82659d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2a75",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 268,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37012,
    "c": 0.12439,
    "h": 302.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#4D2A75
secondary
#80A754
accent
#D75198
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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