#4C2B73#4C2B73

#4C2B73 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.120 H 301.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4C2B73
RGBrgb(76, 43, 115)
HSLhsl(268, 46%, 31%)
HSVhsv(268, 63%, 45%)
CMYKcmyk(33.9%, 62.6%, 0%, 54.9%)
CIE-LABlab(25.27, 31.09, -35.95)
CIE-LCHlch(25.27, 47.53, 310.86°)
OKLaboklab(36.9% 0.0635 -0.1018)
OKLCHoklch(36.9% 0.12 301.9)
XYZxyz(6.9382, 4.5020, 16.7198)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B73 #52732B
analogous
#2B2E73 #4C2B73 #702B73
triadic
#4C2B73 #734C2B #2B734C
tetradic
#4C2B73 #732B2E #52732B #2B7370
square
#4C2B73 #732B2E #52732B #2B7370
split-complementary
#4C2B73 #73702B #2E732B
monochromatic
#110A1A #2F1A46 #4C2B73 #693CA0 #8858C1

Accessibility & contrast

On white

11.05
#4C2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4C2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B73
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B73#FFFFFF#000000##FFFFFF
##4C2B731.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#163C71
Tritanopia (blue-blind)
#443A4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c2b73;
/* rgb */ color: rgb(76, 43, 115);
/* oklch */ color: oklch(36.9% 0.120 301.9);
Tailwind
colors: {
  custom: {
    50: '#81669c',
    500: '#4c2b73',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b73;
$custom-light: #81669c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b73",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 267.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36902,
    "c": 0.12002,
    "h": 301.9
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#4C2B73
secondary
#80A555
accent
#D55399
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4C2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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