#4C0E6F#4C0E6F

#4C0E6F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.153 H 308.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4C0E6F
RGBrgb(76, 14, 111)
HSLhsl(278, 78%, 25%)
HSVhsv(278, 87%, 44%)
CMYKcmyk(31.5%, 87.4%, 0%, 56.5%)
CIE-LABlab(20.04, 43.82, -41.84)
CIE-LCHlch(20.04, 60.59, 316.32°)
OKLaboklab(33.07% 0.0955 -0.119)
OKLCHoklch(33.07% 0.153 308.7)
XYZxyz(6.0062, 2.9984, 15.2982)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E6F #316F0E
analogous
#1C0E6F #4C0E6F #6F0E61
triadic
#4C0E6F #6F4C0E #0E6F4C
tetradic
#4C0E6F #6F1C0E #316F0E #0E616F
square
#4C0E6F #6F1C0E #316F0E #0E616F
split-complementary
#4C0E6F #616F0E #0E6F1C
monochromatic
#13031B #270739 #4C0E6F #7115A5 #961CDC

Accessibility & contrast

On white

13.13
#4C0E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E6F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E6F#FFFFFF#000000##FFFFFF
##4C0E6F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#462940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c0e6f;
/* rgb */ color: rgb(76, 14, 111);
/* oklch */ color: oklch(33.1% 0.153 308.7);
Tailwind
colors: {
  custom: {
    50: '#835799',
    500: '#4c0e6f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e6f;
$custom-light: #835799;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e6f",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 111
  },
  "hsl": {
    "h": 278.351,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33075,
    "c": 0.15255,
    "h": 308.7
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#4C0E6F
secondary
#5CA732
accent
#F43479
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4C0E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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