#4C0F69#4C0F69

#4C0F69 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.146 H 311.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4C0F69
RGBrgb(76, 15, 105)
HSLhsl(281, 75%, 24%)
HSVhsv(281, 86%, 41%)
CMYKcmyk(27.6%, 85.7%, 0%, 58.8%)
CIE-LABlab(19.63, 42.13, -38.59)
CIE-LCHlch(19.63, 57.14, 317.51°)
OKLaboklab(32.63% 0.0964 -0.1094)
OKLCHoklch(32.63% 0.146 311.4)
XYZxyz(5.7006, 2.8982, 13.6210)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F69 #2C690F
analogous
#1F0F69 #4C0F69 #690F59
triadic
#4C0F69 #694C0F #0F694C
tetradic
#4C0F69 #691F0F #2C690F #0F5969
square
#4C0F69 #691F0F #2C690F #0F5969
split-complementary
#4C0F69 #59690F #0F691F
monochromatic
#13041B #250733 #4C0F69 #73179F #9A1ED4

Accessibility & contrast

On white

13.29
#4C0F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F69
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F69#FFFFFF#000000##FFFFFF
##4C0F691.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#48263D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c0f69;
/* rgb */ color: rgb(76, 15, 105);
/* oklch */ color: oklch(32.6% 0.146 311.4);
Tailwind
colors: {
  custom: {
    50: '#825795',
    500: '#4c0f69',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f69;
$custom-light: #825795;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f69",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 280.667,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.14586,
    "h": 311.4
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#4C0F69
secondary
#56A132
accent
#F23673
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C0F69

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

Preview Lab → · Contrast checker → · Palette generator →

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