#4C417C#4C417C

#4C417C is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.6% C 0.096 H 290.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4C417C
RGBrgb(76, 65, 124)
HSLhsl(251, 31%, 37%)
HSVhsv(251, 48%, 49%)
CMYKcmyk(38.7%, 47.6%, 0%, 51.4%)
CIE-LABlab(31.28, 19.86, -32.02)
CIE-LCHlch(31.28, 37.68, 301.81°)
OKLaboklab(41.56% 0.0331 -0.0903)
OKLCHoklch(41.56% 0.096 290.1)
XYZxyz(8.5079, 6.7721, 19.9238)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C417C #717C41
analogous
#41547C #4C417C #6A417C
triadic
#4C417C #7C4C41 #417C4C
tetradic
#4C417C #7C4154 #717C41 #417C6A
square
#4C417C #7C4154 #717C41 #417C6A
split-complementary
#4C417C #7C6A41 #547C41
monochromatic
#1B172C #332C54 #4C417C #6556A4 #887DBB

Accessibility & contrast

On white

8.92
#4C417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4C417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C417C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C417C#FFFFFF#000000##FFFFFF
##4C417C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#404D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c417c;
/* rgb */ color: rgb(76, 65, 124);
/* oklch */ color: oklch(41.6% 0.096 290.1);
Tailwind
colors: {
  custom: {
    50: '#8075a2',
    500: '#4c417c',
    950: '#000000',
  },
}
SCSS
$custom: #4c417c;
$custom-light: #8075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c417c",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 251.186,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.09621,
    "h": 290.1
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#4C417C
secondary
#9CA573
accent
#C760B4
background
#F8F7FA
surface
#EFEDF3
border
#CAC8CD
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4C417C

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

Preview Lab → · Contrast checker → · Palette generator →

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