#4C2C91#4C2C91

#4C2C91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.157 H 292.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4C2C91
RGBrgb(76, 44, 145)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 70%, 57%)
CMYKcmyk(47.6%, 69.7%, 0%, 43.1%)
CIE-LABlab(27.80, 39.04, -50.68)
CIE-LCHlch(27.80, 63.97, 307.61°)
OKLaboklab(39.46% 0.0593 -0.1451)
OKLCHoklch(39.46% 0.157 292.2)
XYZxyz(8.9906, 5.3819, 27.3477)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C91 #71912C
analogous
#2C3F91 #4C2C91 #7F2C91
triadic
#4C2C91 #914C2C #2C914C
tetradic
#4C2C91 #912C3F #71912C #2C917F
square
#4C2C91 #912C3F #71912C #2C917F
split-complementary
#4C2C91 #917F2C #3F912C
monochromatic
#1B1033 #331E62 #4C2C91 #653AC0 #8867D1

Accessibility & contrast

On white

10.11
#4C2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2C91
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2C91#FFFFFF#000000##FFFFFF
##4C2C911.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#37455B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2c91;
/* rgb */ color: rgb(76, 44, 145);
/* oklch */ color: oklch(39.5% 0.157 292.2);
Tailwind
colors: {
  custom: {
    50: '#8568b2',
    500: '#4c2c91',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c91;
$custom-light: #8568b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c91",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 259.01,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.15678,
    "h": 292.2
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#4C2C91
secondary
#9CB762
accent
#DD4BAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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