#4C2C92#4C2C92

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

Color values

HEX#4C2C92
RGBrgb(76, 44, 146)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 70%, 57%)
CMYKcmyk(47.9%, 69.9%, 0%, 42.7%)
CIE-LABlab(27.88, 39.33, -51.16)
CIE-LCHlch(27.88, 64.53, 307.55°)
OKLaboklab(39.55% 0.0591 -0.1465)
OKLCHoklch(39.55% 0.158 292)
XYZxyz(9.0680, 5.4129, 27.7556)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C92 #72922C
analogous
#2C3F92 #4C2C92 #7F2C92
triadic
#4C2C92 #924C2C #2C924C
tetradic
#4C2C92 #922C3F #72922C #2C927F
square
#4C2C92 #922C3F #72922C #2C927F
split-complementary
#4C2C92 #927F2C #3F922C
monochromatic
#1B1034 #341E63 #4C2C92 #643AC1 #8867D1

Accessibility & contrast

On white

10.08
#4C2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2C92
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2C92#FFFFFF#000000##FFFFFF
##4C2C921.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#36455B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2c92;
/* rgb */ color: rgb(76, 44, 146);
/* oklch */ color: oklch(39.5% 0.158 292.0);
Tailwind
colors: {
  custom: {
    50: '#8568b3',
    500: '#4c2c92',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c92;
$custom-light: #8568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c92",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 258.824,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.15801,
    "h": 292
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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