#4E1C95#4E1C95

#4E1C95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.179 H 295.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4E1C95
RGBrgb(78, 28, 149)
HSLhsl(265, 68%, 35%)
HSVhsv(265, 81%, 58%)
CMYKcmyk(47.7%, 81.2%, 0%, 41.6%)
CIE-LABlab(25.62, 48.32, -56.69)
CIE-LCHlch(25.62, 74.49, 310.44°)
OKLaboklab(38.09% 0.0757 -0.1626)
OKLCHoklch(38.09% 0.179 295)
XYZxyz(8.9805, 4.6199, 28.8465)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C95 #63951C
analogous
#1C2795 #4E1C95 #8A1C95
triadic
#4E1C95 #954E1C #1C954E
tetradic
#4E1C95 #951C27 #63951C #1C958A
square
#4E1C95 #951C27 #63951C #1C958A
split-complementary
#4E1C95 #958A1C #27951C
monochromatic
#18092E #331261 #4E1C95 #6926C9 #894EDE

Accessibility & contrast

On white

10.91
#4E1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C95
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C95#FFFFFF#000000##FFFFFF
##4E1C951.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#393F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e1c95;
/* rgb */ color: rgb(78, 28, 149);
/* oklch */ color: oklch(38.1% 0.179 295.0);
Tailwind
colors: {
  custom: {
    50: '#875fb5',
    500: '#4e1c95',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c95;
$custom-light: #875fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c95",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 264.793,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38094,
    "c": 0.17936,
    "h": 295
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#4E1C95
secondary
#90C04D
accent
#EB3DA3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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