#4E2393#4E2393

#4E2393 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.170 H 294.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4E2393
RGBrgb(78, 35, 147)
HSLhsl(263, 62%, 36%)
HSVhsv(263, 76%, 58%)
CMYKcmyk(46.9%, 76.2%, 0%, 42.4%)
CIE-LABlab(26.53, 44.65, -53.97)
CIE-LCHlch(26.53, 70.05, 309.60°)
OKLaboklab(38.67% 0.0706 -0.1547)
OKLCHoklch(38.67% 0.17 294.5)
XYZxyz(9.0079, 4.9281, 28.0747)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2393 #689323
analogous
#233093 #4E2393 #862393
triadic
#4E2393 #934E23 #23934E
tetradic
#4E2393 #932330 #689323 #239386
square
#4E2393 #932330 #689323 #239386
split-complementary
#4E2393 #938623 #309323
monochromatic
#1A0B30 #341762 #4E2393 #682FC4 #8A59D7

Accessibility & contrast

On white

10.58
#4E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2393
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2393#FFFFFF#000000##FFFFFF
##4E23931.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#3A4159
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2393;
/* rgb */ color: rgb(78, 35, 147);
/* oklch */ color: oklch(38.7% 0.170 294.5);
Tailwind
colors: {
  custom: {
    50: '#8763b4',
    500: '#4e2393',
    950: '#000000',
  },
}
SCSS
$custom: #4e2393;
$custom-light: #8763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2393",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 263.036,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.17003,
    "h": 294.5
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#4E2393
secondary
#95BC56
accent
#E543A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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