#4C2575#4C2575

#4C2575 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.132 H 302.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4C2575
RGBrgb(76, 37, 117)
HSLhsl(269, 52%, 30%)
HSVhsv(269, 68%, 46%)
CMYKcmyk(35%, 68.4%, 0%, 54.1%)
CIE-LABlab(24.14, 35.07, -39.04)
CIE-LCHlch(24.14, 52.48, 311.93°)
OKLaboklab(36.13% 0.0711 -0.1109)
OKLCHoklch(36.13% 0.132 302.7)
XYZxyz(6.8522, 4.1440, 17.2650)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2575 #4E7525
analogous
#252675 #4C2575 #742575
triadic
#4C2575 #754C25 #25754C
tetradic
#4C2575 #752526 #4E7525 #257574
square
#4C2575 #752526 #4E7525 #257574
split-complementary
#4C2575 #757425 #267525
monochromatic
#100818 #2E1647 #4C2575 #6A34A3 #894EC7

Accessibility & contrast

On white

11.48
#4C2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4C2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2575
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2575#FFFFFF#000000##FFFFFF
##4C25751.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#063973
Tritanopia (blue-blind)
#443749
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c2575;
/* rgb */ color: rgb(76, 37, 117);
/* oklch */ color: oklch(36.1% 0.132 302.7);
Tailwind
colors: {
  custom: {
    50: '#82629d',
    500: '#4c2575',
    950: '#000000',
  },
}
SCSS
$custom: #4c2575;
$custom-light: #82629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2575",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 269.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.13175,
    "h": 302.7
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#4C2575
secondary
#7CA84E
accent
#DB4C96
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C2575

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

Preview Lab → · Contrast checker → · Palette generator →

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