#4C0F62#4C0F62

#4C0F62 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.139 H 314.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4C0F62
RGBrgb(76, 15, 98)
HSLhsl(284, 73%, 22%)
HSVhsv(284, 85%, 38%)
CMYKcmyk(22.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(19.06, 40.58, -34.92)
CIE-LCHlch(19.06, 53.54, 319.29°)
OKLaboklab(32.05% 0.0981 -0.0986)
OKLCHoklch(32.05% 0.139 314.8)
XYZxyz(5.3556, 2.7602, 11.8036)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F62 #25620F
analogous
#220F62 #4C0F62 #620F4F
triadic
#4C0F62 #624C0F #0F624C
tetradic
#4C0F62 #62220F #25620F #0F4F62
square
#4C0F62 #62220F #25620F #0F4F62
split-complementary
#4C0F62 #4F620F #0F6222
monochromatic
#15041B #23072D #4C0F62 #751797 #9E1FCC

Accessibility & contrast

On white

13.53
#4C0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F62
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F62#FFFFFF#000000##FFFFFF
##4C0F621.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0f62;
/* rgb */ color: rgb(76, 15, 98);
/* oklch */ color: oklch(32.0% 0.139 314.8);
Tailwind
colors: {
  custom: {
    50: '#82568f',
    500: '#4c0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f62;
$custom-light: #82568f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f62",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 284.096,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.13911,
    "h": 314.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#4C0F62
secondary
#4E9B32
accent
#F03869
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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