#4E2293#4E2293

#4E2293 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.171 H 294.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4E2293
RGBrgb(78, 34, 147)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(46.9%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.36, 45.13, -54.24)
CIE-LCHlch(26.36, 70.56, 309.76°)
OKLaboklab(38.55% 0.0715 -0.1555)
OKLCHoklch(38.55% 0.171 294.7)
XYZxyz(8.9789, 4.8701, 28.0650)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2293 #679322
analogous
#222E93 #4E2293 #862293
triadic
#4E2293 #934E22 #22934E
tetradic
#4E2293 #93222E #679322 #229386
square
#4E2293 #93222E #679322 #229386
split-complementary
#4E2293 #938622 #2E9322
monochromatic
#190B30 #341761 #4E2293 #682DC5 #8957D8

Accessibility & contrast

On white

10.64
#4E2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2293
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2293#FFFFFF#000000##FFFFFF
##4E22931.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2293;
/* rgb */ color: rgb(78, 34, 147);
/* oklch */ color: oklch(38.6% 0.171 294.7);
Tailwind
colors: {
  custom: {
    50: '#8762b4',
    500: '#4e2293',
    950: '#000000',
  },
}
SCSS
$custom: #4e2293;
$custom-light: #8762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2293",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 263.363,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.17112,
    "h": 294.7
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#4E2293
secondary
#94BC55
accent
#E542A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2293

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

Preview Lab → · Contrast checker → · Palette generator →

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