#4C2D93#4C2D93

#4C2D93 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.158 H 291.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4C2D93
RGBrgb(76, 45, 147)
HSLhsl(258, 53%, 38%)
HSVhsv(258, 69%, 58%)
CMYKcmyk(48.3%, 69.4%, 0%, 42.4%)
CIE-LABlab(28.17, 39.07, -51.31)
CIE-LCHlch(28.17, 64.49, 307.29°)
OKLaboklab(39.78% 0.0579 -0.147)
OKLCHoklch(39.78% 0.158 291.5)
XYZxyz(9.1839, 5.5195, 28.1796)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D93 #74932D
analogous
#2D4193 #4C2D93 #7F2D93
triadic
#4C2D93 #934C2D #2D934C
tetradic
#4C2D93 #932D41 #74932D #2D937F
square
#4C2D93 #932D41 #74932D #2D937F
split-complementary
#4C2D93 #937F2D #41932D
monochromatic
#1C1035 #341F64 #4C2D93 #643BC2 #8969D1

Accessibility & contrast

On white

9.98
#4C2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D93
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D93#FFFFFF#000000##FFFFFF
##4C2D931.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#36465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2d93;
/* rgb */ color: rgb(76, 45, 147);
/* oklch */ color: oklch(39.8% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#8568b4',
    500: '#4c2d93',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d93;
$custom-light: #8568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d93",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 258.235,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.15798,
    "h": 291.5
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#4C2D93
secondary
#9EB864
accent
#DD4BB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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