#4C327E#4C327E

#4C327E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.124 H 295.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4C327E
RGBrgb(76, 50, 126)
HSLhsl(261, 43%, 35%)
HSVhsv(261, 60%, 49%)
CMYKcmyk(39.7%, 60.3%, 0%, 50.6%)
CIE-LABlab(27.64, 29.98, -39.10)
CIE-LCHlch(27.64, 49.27, 307.48°)
OKLaboklab(38.89% 0.054 -0.1111)
OKLCHoklch(38.89% 0.124 295.9)
XYZxyz(7.8860, 5.3239, 20.3468)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C327E #647E32
analogous
#323E7E #4C327E #72327E
triadic
#4C327E #7E4C32 #327E4C
tetradic
#4C327E #7E323E #647E32 #327E72
square
#4C327E #7E323E #647E32 #327E72
split-complementary
#4C327E #7E7232 #3E7E32
monochromatic
#170F26 #322152 #4C327E #6643AA #8768C3

Accessibility & contrast

On white

10.17
#4C327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C327E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C327E#FFFFFF#000000##FFFFFF
##4C327E1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#404253
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c327e;
/* rgb */ color: rgb(76, 50, 126);
/* oklch */ color: oklch(38.9% 0.124 295.9);
Tailwind
colors: {
  custom: {
    50: '#826ba4',
    500: '#4c327e',
    950: '#000000',
  },
}
SCSS
$custom: #4c327e;
$custom-light: #826ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c327e",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 260.526,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.12354,
    "h": 295.9
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#4C327E
secondary
#91AB61
accent
#D355A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4C327E

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

Preview Lab → · Contrast checker → · Palette generator →

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