#4C0E70#4C0E70

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

Color values

HEX#4C0E70
RGBrgb(76, 14, 112)
HSLhsl(278, 78%, 25%)
HSVhsv(278, 88%, 44%)
CMYKcmyk(32.1%, 87.5%, 0%, 56.1%)
CIE-LABlab(20.13, 44.05, -42.34)
CIE-LCHlch(20.13, 61.10, 316.13°)
OKLaboklab(33.16% 0.0952 -0.1205)
OKLCHoklch(33.16% 0.154 308.3)
XYZxyz(6.0615, 3.0205, 15.5898)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E70 #32700E
analogous
#1B0E70 #4C0E70 #700E63
triadic
#4C0E70 #704C0E #0E704C
tetradic
#4C0E70 #701B0E #32700E #0E6370
square
#4C0E70 #701B0E #32700E #0E6370
split-complementary
#4C0E70 #63700E #0E701B
monochromatic
#12031B #27073A #4C0E70 #7115A6 #961CDD

Accessibility & contrast

On white

13.09
#4C0E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C0E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E70
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E70#FFFFFF#000000##FFFFFF
##4C0E701.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#462941
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c0e70;
/* rgb */ color: rgb(76, 14, 112);
/* oklch */ color: oklch(33.2% 0.154 308.3);
Tailwind
colors: {
  custom: {
    50: '#83579a',
    500: '#4c0e70',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e70;
$custom-light: #83579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e70",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 112
  },
  "hsl": {
    "h": 277.959,
    "s": 77.778,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.15352,
    "h": 308.3
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#4C0E70
secondary
#5DA832
accent
#F4347A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4C0E70

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

Preview Lab → · Contrast checker → · Palette generator →

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