#4D327A#4D327A

#4D327A is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.118 H 297.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4D327A
RGBrgb(77, 50, 122)
HSLhsl(263, 42%, 34%)
HSVhsv(263, 59%, 48%)
CMYKcmyk(36.9%, 59%, 0%, 52.2%)
CIE-LABlab(27.47, 29.08, -36.84)
CIE-LCHlch(27.47, 46.94, 308.29°)
OKLaboklab(38.7% 0.0554 -0.1044)
OKLCHoklch(38.7% 0.118 297.9)
XYZxyz(7.7131, 5.2640, 19.0183)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D327A #5F7A32
analogous
#323B7A #4D327A #71327A
triadic
#4D327A #7A4D32 #327A4D
tetradic
#4D327A #7A323B #5F7A32 #327A71
square
#4D327A #7A323B #5F7A32 #327A71
split-complementary
#4D327A #7A7132 #3B7A32
monochromatic
#160E23 #32204F #4D327A #6844A5 #8866C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D327A#FFFFFF#000000##FFFFFF
##4D327A1.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)
#10417C
Deuteranopia (green-blind)
#1A4078
Tritanopia (blue-blind)
#434151
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d327a;
/* rgb */ color: rgb(77, 50, 122);
/* oklch */ color: oklch(38.7% 0.118 297.9);
Tailwind
colors: {
  custom: {
    50: '#826ba1',
    500: '#4d327a',
    950: '#000000',
  },
}
SCSS
$custom: #4d327a;
$custom-light: #826ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d327a",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 262.5,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.11823,
    "h": 297.9
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#4D327A
secondary
#8DA860
accent
#D256A3
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060F
muted
#7C7A7E

Preview Lab

Preview with #4D327A

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

Preview Lab → · Contrast checker → · Palette generator →

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