#4C327C#4C327C

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

Color values

HEX#4C327C
RGBrgb(76, 50, 124)
HSLhsl(261, 43%, 34%)
HSVhsv(261, 60%, 49%)
CMYKcmyk(38.7%, 59.7%, 0%, 51.4%)
CIE-LABlab(27.50, 29.40, -38.07)
CIE-LCHlch(27.50, 48.10, 307.68°)
OKLaboklab(38.74% 0.054 -0.1081)
OKLCHoklch(38.74% 0.121 296.5)
XYZxyz(7.7583, 5.2728, 19.6739)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C327C #627C32
analogous
#323D7C #4C327C #71327C
triadic
#4C327C #7C4C32 #327C4C
tetradic
#4C327C #7C323D #627C32 #327C71
square
#4C327C #7C323D #627C32 #327C71
split-complementary
#4C327C #7C7132 #3D7C32
monochromatic
#170F25 #312050 #4C327C #6744A8 #8767C2

Accessibility & contrast

On white

10.22
#4C327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C327C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C327C#FFFFFF#000000##FFFFFF
##4C327C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#16407A
Tritanopia (blue-blind)
#414252
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c327c;
/* rgb */ color: rgb(76, 50, 124);
/* oklch */ color: oklch(38.7% 0.121 296.5);
Tailwind
colors: {
  custom: {
    50: '#816ba2',
    500: '#4c327c',
    950: '#000000',
  },
}
SCSS
$custom: #4c327c;
$custom-light: #816ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c327c",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 261.081,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.12081,
    "h": 296.5
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#4C327C
secondary
#90A961
accent
#D255A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4C327C

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

Preview Lab → · Contrast checker → · Palette generator →

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