#4C2073#4C2073

#4C2073 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.136 H 304.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4C2073
RGBrgb(76, 32, 115)
HSLhsl(272, 56%, 29%)
HSVhsv(272, 72%, 45%)
CMYKcmyk(33.9%, 72.2%, 0%, 54.9%)
CIE-LABlab(23.02, 37.21, -39.57)
CIE-LCHlch(23.02, 54.32, 313.24°)
OKLaboklab(35.28% 0.0774 -0.1124)
OKLCHoklch(35.28% 0.136 304.5)
XYZxyz(6.5908, 3.8074, 16.6040)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2073 #477320
analogous
#222073 #4C2073 #732071
triadic
#4C2073 #734C20 #20734C
tetradic
#4C2073 #732220 #477320 #207173
square
#4C2073 #732220 #477320 #207173
split-complementary
#4C2073 #717320 #207322
monochromatic
#100718 #2C1343 #4C2073 #6C2DA3 #8B43CB

Accessibility & contrast

On white

11.92
#4C2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4C2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2073
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2073#FFFFFF#000000##FFFFFF
##4C20731.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#453347
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4c2073;
/* rgb */ color: rgb(76, 32, 115);
/* oklch */ color: oklch(35.3% 0.136 304.5);
Tailwind
colors: {
  custom: {
    50: '#825f9c',
    500: '#4c2073',
    950: '#000000',
  },
}
SCSS
$custom: #4c2073;
$custom-light: #825f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2073",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 271.807,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.13647,
    "h": 304.5
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#4C2073
secondary
#75A748
accent
#E0488F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C2073

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

Preview Lab → · Contrast checker → · Palette generator →

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