#4E2093#4E2093

#4E2093 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.173 H 295.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2093
RGBrgb(78, 32, 147)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 58%)
CMYKcmyk(46.9%, 78.2%, 0%, 42.4%)
CIE-LABlab(26.04, 46.05, -54.78)
CIE-LCHlch(26.04, 71.56, 310.06°)
OKLaboklab(38.32% 0.0732 -0.157)
OKLCHoklch(38.32% 0.173 295)
XYZxyz(8.9234, 4.7591, 28.0465)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2093 #659320
analogous
#202B93 #4E2093 #872093
triadic
#4E2093 #934E20 #20934E
tetradic
#4E2093 #93202B #659320 #209387
square
#4E2093 #93202B #659320 #209387
split-complementary
#4E2093 #938720 #2B9320
monochromatic
#190A2E #331561 #4E2093 #692BC5 #8954DA

Accessibility & contrast

On white

10.76
#4E2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2093
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2093#FFFFFF#000000##FFFFFF
##4E20931.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#3A4059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2093;
/* rgb */ color: rgb(78, 32, 147);
/* oklch */ color: oklch(38.3% 0.173 295.0);
Tailwind
colors: {
  custom: {
    50: '#8761b4',
    500: '#4e2093',
    950: '#000000',
  },
}
SCSS
$custom: #4e2093;
$custom-light: #8761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2093",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 264,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.17324,
    "h": 295
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#4E2093
secondary
#92BD52
accent
#E741A5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2093

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

Preview Lab → · Contrast checker → · Palette generator →

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