#4D329E#4D329E

#4D329E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.165 H 288.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4D329E
RGBrgb(77, 50, 158)
HSLhsl(255, 52%, 41%)
HSVhsv(255, 68%, 62%)
CMYKcmyk(51.3%, 68.4%, 0%, 38%)
CIE-LABlab(30.22, 39.69, -54.67)
CIE-LCHlch(30.22, 67.56, 305.98°)
OKLaboklab(41.57% 0.0526 -0.1568)
OKLCHoklch(41.57% 0.165 288.5)
XYZxyz(10.3709, 6.3271, 33.0159)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D329E #839E32
analogous
#324D9E #4D329E #83329E
triadic
#4D329E #9E4D32 #329E4D
tetradic
#4D329E #9E324D #839E32 #329E83
square
#4D329E #9E324D #839E32 #329E83
split-complementary
#4D329E #9E8332 #4D9E32
monochromatic
#201541 #362370 #4D329E #6748C5 #8E77D4

Accessibility & contrast

On white

9.27
#4D329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4D329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D329E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D329E#FFFFFF#000000##FFFFFF
##4D329E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#304D64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d329e;
/* rgb */ color: rgb(77, 50, 158);
/* oklch */ color: oklch(41.6% 0.165 288.5);
Tailwind
colors: {
  custom: {
    50: '#876cbc',
    500: '#4d329e',
    950: '#000000',
  },
}
SCSS
$custom: #4d329e;
$custom-light: #876cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d329e",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 255,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.16543,
    "h": 288.5
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#4D329E
secondary
#A9BC70
accent
#DB4CB8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D329E

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

Preview Lab → · Contrast checker → · Palette generator →

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