#4C0E6E#4C0E6E

#4C0E6E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.152 H 309.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#4C0E6E
RGBrgb(76, 14, 110)
HSLhsl(279, 77%, 24%)
HSVhsv(279, 87%, 43%)
CMYKcmyk(30.9%, 87.3%, 0%, 56.9%)
CIE-LABlab(19.95, 43.59, -41.33)
CIE-LCHlch(19.95, 60.07, 316.52°)
OKLaboklab(32.99% 0.0958 -0.1175)
OKLCHoklch(32.99% 0.152 309.2)
XYZxyz(5.9514, 2.9765, 15.0098)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E6E #306E0E
analogous
#1C0E6E #4C0E6E #6E0E60
triadic
#4C0E6E #6E4C0E #0E6E4C
tetradic
#4C0E6E #6E1C0E #306E0E #0E606E
square
#4C0E6E #6E1C0E #306E0E #0E606E
split-complementary
#4C0E6E #606E0E #0E6E1C
monochromatic
#13031B #260738 #4C0E6E #7215A4 #971CDB

Accessibility & contrast

On white

13.16
#4C0E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E6E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E6E#FFFFFF#000000##FFFFFF
##4C0E6E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#472840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c0e6e;
/* rgb */ color: rgb(76, 14, 110);
/* oklch */ color: oklch(33.0% 0.152 309.2);
Tailwind
colors: {
  custom: {
    50: '#835798',
    500: '#4c0e6e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e6e;
$custom-light: #835798;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e6e",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 110
  },
  "hsl": {
    "h": 278.75,
    "s": 77.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32987,
    "c": 0.15158,
    "h": 309.2
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#4C0E6E
secondary
#5BA631
accent
#F43478
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4C0E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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