#4E1CA0#4E1CA0

#4E1CA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.191 H 292.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1CA0
RGBrgb(78, 28, 160)
HSLhsl(263, 70%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(51.2%, 82.5%, 0%, 37.3%)
CIE-LABlab(26.70, 51.20, -61.65)
CIE-LCHlch(26.70, 80.14, 309.71°)
OKLaboklab(39.17% 0.072 -0.1771)
OKLCHoklch(39.17% 0.191 292.1)
XYZxyz(9.9005, 4.9879, 33.6920)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1CA0 #6EA01C
analogous
#1C2CA0 #4E1CA0 #901CA0
triadic
#4E1CA0 #A04E1C #1CA04E
tetradic
#4E1CA0 #A01C2C #6EA01C #1CA090
square
#4E1CA0 #A01C2C #6EA01C #1CA090
split-complementary
#4E1CA0 #A0901C #2CA01C
monochromatic
#1B0A38 #35136C #4E1CA0 #6725D4 #8A55E1

Accessibility & contrast

On white

10.51
#4E1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1CA0
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1CA0#FFFFFF#000000##FFFFFF
##4E1CA01.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#32435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e1ca0;
/* rgb */ color: rgb(78, 28, 160);
/* oklch */ color: oklch(39.2% 0.191 292.1);
Tailwind
colors: {
  custom: {
    50: '#8960bd',
    500: '#4e1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4e1ca0;
$custom-light: #8960bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1ca0",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 262.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.19119,
    "h": 292.1
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#4E1CA0
secondary
#9AC453
accent
#ED3BAA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4E1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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