#4E2994#4E2994

#4E2994 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.164 H 293.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4E2994
RGBrgb(78, 41, 148)
HSLhsl(261, 57%, 37%)
HSVhsv(261, 72%, 58%)
CMYKcmyk(47.3%, 72.3%, 0%, 42%)
CIE-LABlab(27.69, 41.90, -52.69)
CIE-LCHlch(27.69, 67.31, 308.49°)
OKLaboklab(39.52% 0.0647 -0.1509)
OKLCHoklch(39.52% 0.164 293.2)
XYZxyz(9.2786, 5.3434, 28.5537)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2994 #6F9429
analogous
#293994 #4E2994 #842994
triadic
#4E2994 #944E29 #29944E
tetradic
#4E2994 #942939 #6F9429 #299484
square
#4E2994 #942939 #6F9429 #299484
split-complementary
#4E2994 #948429 #399429
monochromatic
#1B0E34 #351C64 #4E2994 #6736C4 #8A63D4

Accessibility & contrast

On white

10.15
#4E2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2994
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2994#FFFFFF#000000##FFFFFF
##4E29941.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#39445B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2994;
/* rgb */ color: rgb(78, 41, 148);
/* oklch */ color: oklch(39.5% 0.164 293.2);
Tailwind
colors: {
  custom: {
    50: '#8666b4',
    500: '#4e2994',
    950: '#000000',
  },
}
SCSS
$custom: #4e2994;
$custom-light: #8666b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2994",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 260.748,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.16425,
    "h": 293.2
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#4E2994
secondary
#9ABA5F
accent
#E048AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2994

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

Preview Lab → · Contrast checker → · Palette generator →

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