#4C0F63#4C0F63

#4C0F63 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 314.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#4C0F63
RGBrgb(76, 15, 99)
HSLhsl(284, 74%, 22%)
HSVhsv(284, 85%, 39%)
CMYKcmyk(23.2%, 84.8%, 0%, 61.2%)
CIE-LABlab(19.14, 40.80, -35.45)
CIE-LCHlch(19.14, 54.05, 319.01°)
OKLaboklab(32.13% 0.0979 -0.1002)
OKLCHoklch(32.13% 0.14 314.3)
XYZxyz(5.4031, 2.7792, 12.0538)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F63 #26630F
analogous
#220F63 #4C0F63 #630F50
triadic
#4C0F63 #634C0F #0F634C
tetradic
#4C0F63 #63220F #26630F #0F5063
square
#4C0F63 #63220F #26630F #0F5063
split-complementary
#4C0F63 #50630F #0F6322
monochromatic
#14041B #23072E #4C0F63 #751798 #9E1FCD

Accessibility & contrast

On white

13.50
#4C0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4C0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F63
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F63#FFFFFF#000000##FFFFFF
##4C0F631.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#073061
Tritanopia (blue-blind)
#4A2339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c0f63;
/* rgb */ color: rgb(76, 15, 99);
/* oklch */ color: oklch(32.1% 0.140 314.3);
Tailwind
colors: {
  custom: {
    50: '#825690',
    500: '#4c0f63',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f63;
$custom-light: #825690;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f63",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 283.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.14007,
    "h": 314.3
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#4C0F63
secondary
#4F9C32
accent
#F0376A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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