#4C327F#4C327F

#4C327F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.125 H 295.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4C327F
RGBrgb(76, 50, 127)
HSLhsl(260, 44%, 35%)
HSVhsv(260, 61%, 50%)
CMYKcmyk(40.2%, 60.6%, 0%, 50.2%)
CIE-LABlab(27.71, 30.27, -39.62)
CIE-LCHlch(27.71, 49.86, 307.38°)
OKLaboklab(38.96% 0.054 -0.1126)
OKLCHoklch(38.96% 0.125 295.6)
XYZxyz(7.9509, 5.3499, 20.6883)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C327F #657F32
analogous
#323E7F #4C327F #73327F
triadic
#4C327F #7F4C32 #327F4C
tetradic
#4C327F #7F323E #657F32 #327F73
square
#4C327F #7F323E #657F32 #327F73
split-complementary
#4C327F #7F7332 #3E7F32
monochromatic
#170F27 #322153 #4C327F #6643AB #8768C4

Accessibility & contrast

On white

10.14
#4C327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4C327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C327F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C327F#FFFFFF#000000##FFFFFF
##4C327F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044282
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#3F4353
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c327f;
/* rgb */ color: rgb(76, 50, 127);
/* oklch */ color: oklch(39.0% 0.125 295.6);
Tailwind
colors: {
  custom: {
    50: '#826ba5',
    500: '#4c327f',
    950: '#000000',
  },
}
SCSS
$custom: #4c327f;
$custom-light: #826ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c327f",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 260.26,
    "s": 43.503,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3896,
    "c": 0.12489,
    "h": 295.6
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#4C327F
secondary
#92AB62
accent
#D355A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4C327F

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

Preview Lab → · Contrast checker → · Palette generator →

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