#4C0F50#4C0F50

#4C0F50 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.122 H 325.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4C0F50
RGBrgb(76, 15, 80)
HSLhsl(296, 68%, 19%)
HSVhsv(296, 81%, 31%)
CMYKcmyk(5%, 81.3%, 0%, 68.6%)
CIE-LABlab(17.73, 36.83, -24.99)
CIE-LCHlch(17.73, 44.51, 325.85°)
OKLaboklab(30.68% 0.1005 -0.0695)
OKLCHoklch(30.68% 0.122 325.3)
XYZxyz(4.5992, 2.4576, 7.8200)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F50 #13500F
analogous
#2B0F50 #4C0F50 #500F33
triadic
#4C0F50 #504C0F #0F504C
tetradic
#4C0F50 #502B0F #13500F #0F3350
square
#4C0F50 #502B0F #13500F #0F3350
split-complementary
#4C0F50 #33500F #0F502B
monochromatic
#18051A #1B051C #4C0F50 #7D1984 #AE22B7

Accessibility & contrast

On white

14.08
#4C0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C0F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F50
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F50#FFFFFF#000000##FFFFFF
##4C0F501.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#4E1A2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0f50;
/* rgb */ color: rgb(76, 15, 80);
/* oklch */ color: oklch(30.7% 0.122 325.3);
Tailwind
colors: {
  custom: {
    50: '#815581',
    500: '#4c0f50',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f50;
$custom-light: #815581;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f50",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 296.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30684,
    "c": 0.12221,
    "h": 325.3
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#4C0F50
secondary
#368A31
accent
#EB3D47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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