#4C2C8F#4C2C8F

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

Color values

HEX#4C2C8F
RGBrgb(76, 44, 143)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 69%, 56%)
CMYKcmyk(46.9%, 69.2%, 0%, 43.9%)
CIE-LABlab(27.63, 38.46, -49.71)
CIE-LCHlch(27.63, 62.85, 307.73°)
OKLaboklab(39.29% 0.0596 -0.1423)
OKLCHoklch(39.29% 0.154 292.7)
XYZxyz(8.8377, 5.3208, 26.5426)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C8F #6F8F2C
analogous
#2C3E8F #4C2C8F #7E2C8F
triadic
#4C2C8F #8F4C2C #2C8F4C
tetradic
#4C2C8F #8F2C3E #6F8F2C #2C8F7E
square
#4C2C8F #8F2C3E #6F8F2C #2C8F7E
split-complementary
#4C2C8F #8F7E2C #3E8F2C
monochromatic
#1A0F31 #331E60 #4C2C8F #653ABE #8866D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C2C8F#FFFFFF#000000##FFFFFF
##4C2C8F1.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)
#004392
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#38445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2c8f;
/* rgb */ color: rgb(76, 44, 143);
/* oklch */ color: oklch(39.3% 0.154 292.7);
Tailwind
colors: {
  custom: {
    50: '#8467b1',
    500: '#4c2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c8f;
$custom-light: #8467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c8f",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 259.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.15428,
    "h": 292.7
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#4C2C8F
secondary
#9BB661
accent
#DC4BAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4C2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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