#4C2D73#4C2D73

#4C2D73 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.117 H 301.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4C2D73
RGBrgb(76, 45, 115)
HSLhsl(267, 44%, 31%)
HSVhsv(267, 61%, 45%)
CMYKcmyk(33.9%, 60.9%, 0%, 54.9%)
CIE-LABlab(25.72, 29.90, -35.23)
CIE-LCHlch(25.72, 46.20, 310.32°)
OKLaboklab(37.23% 0.0608 -0.0997)
OKLCHoklch(37.23% 0.117 301.4)
XYZxyz(7.0127, 4.6510, 16.7446)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D73 #54732D
analogous
#2D3173 #4C2D73 #6F2D73
triadic
#4C2D73 #734C2D #2D734C
tetradic
#4C2D73 #732D31 #54732D #2D736F
square
#4C2D73 #732D31 #54732D #2D736F
split-complementary
#4C2D73 #736F2D #31732D
monochromatic
#120B1B #2F1C47 #4C2D73 #693E9F #885BBF

Accessibility & contrast

On white

10.88
#4C2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4C2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D73
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D73#FFFFFF#000000##FFFFFF
##4C2D731.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#1A3D71
Tritanopia (blue-blind)
#443B4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2d73;
/* rgb */ color: rgb(76, 45, 115);
/* oklch */ color: oklch(37.2% 0.117 301.4);
Tailwind
colors: {
  custom: {
    50: '#81679c',
    500: '#4c2d73',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d73;
$custom-light: #81679c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d73",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 266.571,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.11679,
    "h": 301.4
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#4C2D73
secondary
#82A457
accent
#D3549B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4C2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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