#4C0F66#4C0F66

#4C0F66 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.4% C 0.143 H 312.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4C0F66
RGBrgb(76, 15, 102)
HSLhsl(282, 74%, 23%)
HSVhsv(282, 85%, 40%)
CMYKcmyk(25.5%, 85.3%, 0%, 60%)
CIE-LABlab(19.38, 41.46, -37.03)
CIE-LCHlch(19.38, 55.59, 318.23°)
OKLaboklab(32.38% 0.0972 -0.1048)
OKLCHoklch(32.38% 0.143 312.8)
XYZxyz(5.5492, 2.8376, 12.8232)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F66 #29660F
analogous
#200F66 #4C0F66 #660F54
triadic
#4C0F66 #664C0F #0F664C
tetradic
#4C0F66 #66200F #29660F #0F5466
square
#4C0F66 #66200F #29660F #0F5466
split-complementary
#4C0F66 #54660F #0F6620
monochromatic
#14041B #240731 #4C0F66 #74179B #9C1FD1

Accessibility & contrast

On white

13.40
#4C0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F66
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F66#FFFFFF#000000##FFFFFF
##4C0F661.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#013064
Tritanopia (blue-blind)
#49253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c0f66;
/* rgb */ color: rgb(76, 15, 102);
/* oklch */ color: oklch(32.4% 0.143 312.8);
Tailwind
colors: {
  custom: {
    50: '#825692',
    500: '#4c0f66',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f66;
$custom-light: #825692;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f66",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 282.069,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32378,
    "c": 0.14295,
    "h": 312.8
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#4C0F66
secondary
#539F32
accent
#F1376E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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