#4E1D75#4E1D75

#4E1D75 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.143 H 305.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4E1D75
RGBrgb(78, 29, 117)
HSLhsl(273, 60%, 29%)
HSVhsv(273, 75%, 46%)
CMYKcmyk(33.3%, 75.2%, 0%, 54.1%)
CIE-LABlab(22.94, 39.64, -40.97)
CIE-LCHlch(22.94, 57.01, 314.05°)
OKLaboklab(35.34% 0.0833 -0.1165)
OKLCHoklch(35.34% 0.143 305.6)
XYZxyz(6.7914, 3.7828, 17.1986)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D75 #44751D
analogous
#221D75 #4E1D75 #751D70
triadic
#4E1D75 #754E1D #1D754E
tetradic
#4E1D75 #75221D #44751D #1D7075
square
#4E1D75 #75221D #44751D #1D7075
split-complementary
#4E1D75 #70751D #1D7522
monochromatic
#100619 #2D1144 #4E1D75 #6F29A6 #8E3DCF

Accessibility & contrast

On white

11.95
#4E1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E1D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D75
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D75#FFFFFF#000000##FFFFFF
##4E1D751.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#473247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1d75;
/* rgb */ color: rgb(78, 29, 117);
/* oklch */ color: oklch(35.3% 0.143 305.6);
Tailwind
colors: {
  custom: {
    50: '#845e9d',
    500: '#4e1d75',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d75;
$custom-light: #845e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d75",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 273.409,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.14322,
    "h": 305.6
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#4E1D75
secondary
#71A945
accent
#E3448B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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