#4E1D6E#4E1D6E

#4E1D6E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.135 H 308.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1D6E
RGBrgb(78, 29, 110)
HSLhsl(276, 58%, 27%)
HSVhsv(276, 74%, 43%)
CMYKcmyk(29.1%, 73.6%, 0%, 56.9%)
CIE-LABlab(22.39, 37.90, -37.36)
CIE-LCHlch(22.39, 53.22, 315.41°)
OKLaboklab(34.77% 0.0845 -0.1058)
OKLCHoklch(34.77% 0.135 308.6)
XYZxyz(6.3951, 3.6243, 15.1115)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D6E #3D6E1D
analogous
#251D6E #4E1D6E #6E1D66
triadic
#4E1D6E #6E4E1D #1D6E4E
tetradic
#4E1D6E #6E251D #3D6E1D #1D666E
square
#4E1D6E #6E251D #3D6E1D #1D666E
split-complementary
#4E1D6E #666E1D #1D6E25
monochromatic
#110618 #2C103E #4E1D6E #702A9E #923ACB

Accessibility & contrast

On white

12.18
#4E1D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D6E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D6E#FFFFFF#000000##FFFFFF
##4E1D6E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#0A366C
Tritanopia (blue-blind)
#492F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1d6e;
/* rgb */ color: rgb(78, 29, 110);
/* oklch */ color: oklch(34.8% 0.135 308.6);
Tailwind
colors: {
  custom: {
    50: '#835e98',
    500: '#4e1d6e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d6e;
$custom-light: #835e98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d6e",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 276.296,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.13545,
    "h": 308.6
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#4E1D6E
secondary
#6AA244
accent
#E14684
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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