#4D034E#4D034E

#4D034E is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.133 H 327.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4D034E
RGBrgb(77, 3, 78)
HSLhsl(299, 93%, 16%)
HSVhsv(299, 96%, 31%)
CMYKcmyk(1.3%, 96.2%, 0%, 69.4%)
CIE-LABlab(16.47, 40.49, -25.61)
CIE-LCHlch(16.47, 47.92, 327.69°)
OKLaboklab(29.79% 0.1126 -0.0713)
OKLCHoklch(29.79% 0.133 327.7)
XYZxyz(4.4682, 2.1933, 7.3943)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D034E #044E03
analogous
#27034E #4D034E #4E0329
triadic
#4D034E #4E4D03 #034E4D
tetradic
#4D034E #4E2703 #044E03 #03294E
square
#4D034E #4E2703 #044E03 #03294E
split-complementary
#4D034E #294E03 #034E27
monochromatic
#1D011D #1D011D #4D034E #870589 #C108C4

Accessibility & contrast

On white

14.60
#4D034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4D034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D034E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D034E#FFFFFF#000000##FFFFFF
##4D034E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#50122B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d034e;
/* rgb */ color: rgb(77, 3, 78);
/* oklch */ color: oklch(29.8% 0.133 327.7);
Tailwind
colors: {
  custom: {
    50: '#825180',
    500: '#4d034e',
    950: '#000000',
  },
}
SCSS
$custom: #4d034e;
$custom-light: #825180;
$custom-dark: #000000;
JSON
{
  "hex": "#4d034e",
  "rgb": {
    "r": 77,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 299.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29788,
    "c": 0.13321,
    "h": 327.7
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#4D034E
secondary
#208E1E
accent
#FF292C
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B020A
muted
#7C787C

Preview Lab

Preview with #4D034E

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

Preview Lab → · Contrast checker → · Palette generator →

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