#4E2394#4E2394

#4E2394 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.171 H 294.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4E2394
RGBrgb(78, 35, 148)
HSLhsl(263, 62%, 36%)
HSVhsv(263, 76%, 58%)
CMYKcmyk(47.3%, 76.4%, 0%, 42%)
CIE-LABlab(26.62, 44.92, -54.44)
CIE-LCHlch(26.62, 70.58, 309.53°)
OKLaboklab(38.76% 0.0703 -0.1561)
OKLCHoklch(38.76% 0.171 294.3)
XYZxyz(9.0868, 4.9596, 28.4898)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2394 #699423
analogous
#233094 #4E2394 #862394
triadic
#4E2394 #944E23 #23944E
tetradic
#4E2394 #942330 #699423 #239486
square
#4E2394 #942330 #699423 #239486
split-complementary
#4E2394 #948623 #309423
monochromatic
#1A0C31 #341763 #4E2394 #682FC5 #8A5AD8

Accessibility & contrast

On white

10.54
#4E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2394
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2394#FFFFFF#000000##FFFFFF
##4E23941.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#39415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2394;
/* rgb */ color: rgb(78, 35, 148);
/* oklch */ color: oklch(38.8% 0.171 294.3);
Tailwind
colors: {
  custom: {
    50: '#8763b4',
    500: '#4e2394',
    950: '#000000',
  },
}
SCSS
$custom: #4e2394;
$custom-light: #8763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2394",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 262.832,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.17117,
    "h": 294.3
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#4E2394
secondary
#96BC57
accent
#E543A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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