#4C2E92#4C2E92

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

Color values

HEX#4C2E92
RGBrgb(76, 46, 146)
HSLhsl(258, 52%, 38%)
HSVhsv(258, 68%, 57%)
CMYKcmyk(47.9%, 68.5%, 0%, 42.7%)
CIE-LABlab(28.29, 38.21, -50.49)
CIE-LCHlch(28.29, 63.32, 307.12°)
OKLaboklab(39.84% 0.057 -0.1446)
OKLCHoklch(39.84% 0.155 291.5)
XYZxyz(9.1443, 5.5655, 27.7810)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E92 #74922E
analogous
#2E4292 #4C2E92 #7E2E92
triadic
#4C2E92 #924C2E #2E924C
tetradic
#4C2E92 #922E42 #74922E #2E927E
square
#4C2E92 #922E42 #74922E #2E927E
split-complementary
#4C2E92 #927E2E #42922E
monochromatic
#1C1135 #341F63 #4C2E92 #643DC1 #896AD0

Accessibility & contrast

On white

9.94
#4C2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4C2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E92
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E92#FFFFFF#000000##FFFFFF
##4C2E921.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#36475C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c2e92;
/* rgb */ color: rgb(76, 46, 146);
/* oklch */ color: oklch(39.8% 0.155 291.5);
Tailwind
colors: {
  custom: {
    50: '#8469b3',
    500: '#4c2e92',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e92;
$custom-light: #8469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e92",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 258,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.15543,
    "h": 291.5
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#4C2E92
secondary
#9EB765
accent
#DC4CB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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