#4C0F6A#4C0F6A

#4C0F6A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.147 H 310.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4C0F6A
RGBrgb(76, 15, 106)
HSLhsl(280, 75%, 24%)
HSVhsv(280, 86%, 42%)
CMYKcmyk(28.3%, 85.8%, 0%, 58.4%)
CIE-LABlab(19.72, 42.36, -39.11)
CIE-LCHlch(19.72, 57.65, 317.28°)
OKLaboklab(32.72% 0.0962 -0.111)
OKLCHoklch(32.72% 0.147 310.9)
XYZxyz(5.7523, 2.9189, 13.8933)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F6A #2D6A0F
analogous
#1E0F6A #4C0F6A #6A0F5A
triadic
#4C0F6A #6A4C0F #0F6A4C
tetradic
#4C0F6A #6A1E0F #2D6A0F #0F5A6A
square
#4C0F6A #6A1E0F #2D6A0F #0F5A6A
split-complementary
#4C0F6A #5A6A0F #0F6A1E
monochromatic
#13041B #260734 #4C0F6A #7217A0 #991ED5

Accessibility & contrast

On white

13.26
#4C0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F6A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F6A#FFFFFF#000000##FFFFFF
##4C0F6A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#48273E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c0f6a;
/* rgb */ color: rgb(76, 15, 106);
/* oklch */ color: oklch(32.7% 0.147 310.9);
Tailwind
colors: {
  custom: {
    50: '#825795',
    500: '#4c0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f6a;
$custom-light: #825795;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f6a",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 280.22,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.14683,
    "h": 310.9
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#4C0F6A
secondary
#57A232
accent
#F23674
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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