#4E1E67#4E1E67

#4E1E67 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.126 H 311.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1E67
RGBrgb(78, 30, 103)
HSLhsl(279, 55%, 26%)
HSVhsv(279, 71%, 40%)
CMYKcmyk(24.3%, 70.9%, 0%, 59.6%)
CIE-LABlab(22.04, 35.70, -33.37)
CIE-LCHlch(22.04, 48.87, 316.93°)
OKLaboklab(34.36% 0.0841 -0.0941)
OKLCHoklch(34.36% 0.126 311.8)
XYZxyz(6.0539, 3.5277, 13.1913)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E67 #37671E
analogous
#291E67 #4E1E67 #671E5B
triadic
#4E1E67 #674E1E #1E674E
tetradic
#4E1E67 #67291E #37671E #1E5B67
square
#4E1E67 #67291E #37671E #1E5B67
split-complementary
#4E1E67 #5B671E #1E6729
monochromatic
#120718 #2A1038 #4E1E67 #722C96 #963AC6

Accessibility & contrast

On white

12.31
#4E1E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E67
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E67#FFFFFF#000000##FFFFFF
##4E1E671.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#163665
Tritanopia (blue-blind)
#4B2D40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1e67;
/* rgb */ color: rgb(78, 30, 103);
/* oklch */ color: oklch(34.4% 0.126 311.8);
Tailwind
colors: {
  custom: {
    50: '#825e93',
    500: '#4e1e67',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e67;
$custom-light: #825e93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e67",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 279.452,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34357,
    "c": 0.12624,
    "h": 311.8
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#4E1E67
secondary
#639C45
accent
#DE4A7C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1E67

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

Preview Lab → · Contrast checker → · Palette generator →

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