#4C2B92#4C2B92

#4C2B92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.159 H 292.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4C2B92
RGBrgb(76, 43, 146)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 71%, 57%)
CMYKcmyk(47.9%, 70.5%, 0%, 42.7%)
CIE-LABlab(27.68, 39.88, -51.48)
CIE-LCHlch(27.68, 65.12, 307.76°)
OKLaboklab(39.41% 0.0601 -0.1475)
OKLCHoklch(39.41% 0.159 292.2)
XYZxyz(9.0312, 5.3393, 27.7433)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B92 #71922B
analogous
#2B3E92 #4C2B92 #7F2B92
triadic
#4C2B92 #924C2B #2B924C
tetradic
#4C2B92 #922B3E #71922B #2B927F
square
#4C2B92 #922B3E #71922B #2B927F
split-complementary
#4C2B92 #927F2B #3E922B
monochromatic
#1B0F33 #331D63 #4C2B92 #6539C1 #8866D2

Accessibility & contrast

On white

10.15
#4C2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4C2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B92
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B92#FFFFFF#000000##FFFFFF
##4C2B921.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#36455B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2b92;
/* rgb */ color: rgb(76, 43, 146);
/* oklch */ color: oklch(39.4% 0.159 292.2);
Tailwind
colors: {
  custom: {
    50: '#8567b3',
    500: '#4c2b92',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b92;
$custom-light: #8567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b92",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 259.223,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.15929,
    "h": 292.2
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#4C2B92
secondary
#9CB861
accent
#DE4AAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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