#4E2693#4E2693

#4E2693 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.167 H 294.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4E2693
RGBrgb(78, 38, 147)
HSLhsl(262, 59%, 36%)
HSVhsv(262, 74%, 58%)
CMYKcmyk(46.9%, 74.1%, 0%, 42.4%)
CIE-LABlab(27.05, 43.17, -53.11)
CIE-LCHlch(27.05, 68.44, 309.10°)
OKLaboklab(39.04% 0.0678 -0.1522)
OKLCHoklch(39.04% 0.167 294)
XYZxyz(9.1000, 5.1122, 28.1054)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2693 #6B9326
analogous
#263593 #4E2693 #852693
triadic
#4E2693 #934E26 #26934E
tetradic
#4E2693 #932635 #6B9326 #269385
square
#4E2693 #932635 #6B9326 #269385
split-complementary
#4E2693 #938526 #359326
monochromatic
#1A0D32 #341962 #4E2693 #6833C4 #8A5ED5

Accessibility & contrast

On white

10.38
#4E2693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E2693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2693
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2693#FFFFFF#000000##FFFFFF
##4E26931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#3A425A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2693;
/* rgb */ color: rgb(78, 38, 147);
/* oklch */ color: oklch(39.0% 0.167 294.0);
Tailwind
colors: {
  custom: {
    50: '#8664b4',
    500: '#4e2693',
    950: '#000000',
  },
}
SCSS
$custom: #4e2693;
$custom-light: #8664b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2693",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 262.018,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.16663,
    "h": 294
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#4E2693
secondary
#97BA5A
accent
#E246A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2693

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

Preview Lab → · Contrast checker → · Palette generator →

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