#4E2294#4E2294

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

Color values

HEX#4E2294
RGBrgb(78, 34, 148)
HSLhsl(263, 63%, 36%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(47.3%, 77%, 0%, 42%)
CIE-LABlab(26.45, 45.40, -54.71)
CIE-LCHlch(26.45, 71.09, 309.68°)
OKLaboklab(38.64% 0.0712 -0.1569)
OKLCHoklch(38.64% 0.172 294.4)
XYZxyz(9.0577, 4.9016, 28.4801)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2294 #689422
analogous
#222F94 #4E2294 #872294
triadic
#4E2294 #944E22 #22944E
tetradic
#4E2294 #94222F #689422 #229487
square
#4E2294 #94222F #689422 #229487
split-complementary
#4E2294 #948722 #2F9422
monochromatic
#1A0B30 #341762 #4E2294 #682DC6 #8A58D9

Accessibility & contrast

On white

10.60
#4E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2294
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2294#FFFFFF#000000##FFFFFF
##4E22941.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.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: #4e2294;
/* rgb */ color: rgb(78, 34, 148);
/* oklch */ color: oklch(38.6% 0.172 294.4);
Tailwind
colors: {
  custom: {
    50: '#8762b4',
    500: '#4e2294',
    950: '#000000',
  },
}
SCSS
$custom: #4e2294;
$custom-light: #8762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2294",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 263.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.17225,
    "h": 294.4
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#4E2294
secondary
#95BD55
accent
#E642A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2294

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

Preview Lab → · Contrast checker → · Palette generator →

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