#4E1C6D#4E1C6D

#4E1C6D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.136 H 309.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#4E1C6D
RGBrgb(78, 28, 109)
HSLhsl(277, 59%, 27%)
HSVhsv(277, 74%, 43%)
CMYKcmyk(28.4%, 74.3%, 0%, 57.3%)
CIE-LABlab(22.14, 38.13, -37.12)
CIE-LCHlch(22.14, 53.21, 315.77°)
OKLaboklab(34.57% 0.0858 -0.1051)
OKLCHoklch(34.57% 0.136 309.2)
XYZxyz(6.3169, 3.5545, 14.8183)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C6D #3B6D1C
analogous
#261C6D #4E1C6D #6D1C64
triadic
#4E1C6D #6D4E1C #1C6D4E
tetradic
#4E1C6D #6D261C #3B6D1C #1C646D
square
#4E1C6D #6D261C #3B6D1C #1C646D
split-complementary
#4E1C6D #646D1C #1C6D26
monochromatic
#110618 #2B0F3C #4E1C6D #71299E #9338CC

Accessibility & contrast

On white

12.27
#4E1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C6D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C6D#FFFFFF#000000##FFFFFF
##4E1C6D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#0A366B
Tritanopia (blue-blind)
#492E42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1c6d;
/* rgb */ color: rgb(78, 28, 109);
/* oklch */ color: oklch(34.6% 0.136 309.2);
Tailwind
colors: {
  custom: {
    50: '#835d97',
    500: '#4e1c6d',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c6d;
$custom-light: #835d97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c6d",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 277.037,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.1357,
    "h": 309.2
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#4E1C6D
secondary
#67A243
accent
#E24582
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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