#4C0E71#4C0E71

#4C0E71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.3% C 0.154 H 307.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4C0E71
RGBrgb(76, 14, 113)
HSLhsl(278, 78%, 25%)
HSVhsv(278, 88%, 44%)
CMYKcmyk(32.7%, 87.6%, 0%, 55.7%)
CIE-LABlab(20.21, 44.28, -42.85)
CIE-LCHlch(20.21, 61.61, 315.94°)
OKLaboklab(33.25% 0.0949 -0.1219)
OKLCHoklch(33.25% 0.154 307.9)
XYZxyz(6.1175, 3.0429, 15.8847)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E71 #33710E
analogous
#1B0E71 #4C0E71 #710E64
triadic
#4C0E71 #714C0E #0E714C
tetradic
#4C0E71 #711B0E #33710E #0E6471
square
#4C0E71 #711B0E #33710E #0E6471
split-complementary
#4C0E71 #64710E #0E711B
monochromatic
#12031B #27073B #4C0E71 #7115A7 #951BDE

Accessibility & contrast

On white

13.05
#4C0E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C0E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E71
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E71#FFFFFF#000000##FFFFFF
##4C0E711.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#462A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c0e71;
/* rgb */ color: rgb(76, 14, 113);
/* oklch */ color: oklch(33.3% 0.154 307.9);
Tailwind
colors: {
  custom: {
    50: '#83579b',
    500: '#4c0e71',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e71;
$custom-light: #83579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e71",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 277.576,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.15448,
    "h": 307.9
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#4C0E71
secondary
#5EA932
accent
#F4337C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4C0E71

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

Preview Lab → · Contrast checker → · Palette generator →

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