#4C2D91#4C2D91

#4C2D91 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.155 H 292.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4C2D91
RGBrgb(76, 45, 145)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 69%, 57%)
CMYKcmyk(47.6%, 69%, 0%, 43.1%)
CIE-LABlab(28.00, 38.48, -50.35)
CIE-LCHlch(28.00, 63.37, 307.39°)
OKLaboklab(39.61% 0.0582 -0.1442)
OKLCHoklch(39.61% 0.155 292)
XYZxyz(9.0283, 5.4573, 27.3602)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D91 #72912D
analogous
#2D4091 #4C2D91 #7E2D91
triadic
#4C2D91 #914C2D #2D914C
tetradic
#4C2D91 #912D40 #72912D #2D917E
square
#4C2D91 #912D40 #72912D #2D917E
split-complementary
#4C2D91 #917E2D #40912D
monochromatic
#1B1034 #341F62 #4C2D91 #643BC0 #8868D0

Accessibility & contrast

On white

10.04
#4C2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D91
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D91#FFFFFF#000000##FFFFFF
##4C2D911.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2d91;
/* rgb */ color: rgb(76, 45, 145);
/* oklch */ color: oklch(39.6% 0.155 292.0);
Tailwind
colors: {
  custom: {
    50: '#8468b2',
    500: '#4c2d91',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d91;
$custom-light: #8468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d91",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 258.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.15548,
    "h": 292
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#4C2D91
secondary
#9DB763
accent
#DC4CAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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