#4D327C#4D327C

#4D327C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.8% C 0.121 H 297.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4D327C
RGBrgb(77, 50, 124)
HSLhsl(262, 43%, 34%)
HSVhsv(262, 60%, 49%)
CMYKcmyk(37.9%, 59.7%, 0%, 51.4%)
CIE-LABlab(27.61, 29.66, -37.88)
CIE-LCHlch(27.61, 48.11, 308.05°)
OKLaboklab(38.85% 0.0554 -0.1075)
OKLCHoklch(38.85% 0.121 297.3)
XYZxyz(7.8383, 5.3141, 19.6776)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D327C #617C32
analogous
#323C7C #4D327C #72327C
triadic
#4D327C #7C4D32 #327C4D
tetradic
#4D327C #7C323C #617C32 #327C72
square
#4D327C #7C323C #617C32 #327C72
split-complementary
#4D327C #7C7232 #3C7C32
monochromatic
#170F25 #322050 #4D327C #6844A8 #8867C2

Accessibility & contrast

On white

10.18
#4D327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D327C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D327C#FFFFFF#000000##FFFFFF
##4D327C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#17407A
Tritanopia (blue-blind)
#424152
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d327c;
/* rgb */ color: rgb(77, 50, 124);
/* oklch */ color: oklch(38.8% 0.121 297.3);
Tailwind
colors: {
  custom: {
    50: '#826ba2',
    500: '#4d327c',
    950: '#000000',
  },
}
SCSS
$custom: #4d327c;
$custom-light: #826ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d327c",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 261.892,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.12094,
    "h": 297.3
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#4D327C
secondary
#8FA961
accent
#D255A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D327C

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

Preview Lab → · Contrast checker → · Palette generator →

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