#4E3084#4E3084

#4E3084 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.135 H 296.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4E3084
RGBrgb(78, 48, 132)
HSLhsl(261, 47%, 35%)
HSVhsv(261, 64%, 52%)
CMYKcmyk(40.9%, 63.6%, 0%, 48.2%)
CIE-LABlab(27.84, 33.40, -42.52)
CIE-LCHlch(27.84, 54.07, 308.15°)
OKLaboklab(39.23% 0.0592 -0.1211)
OKLCHoklch(39.23% 0.135 296)
XYZxyz(8.3626, 5.3994, 22.4269)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3084 #668430
analogous
#303C84 #4E3084 #783084
triadic
#4E3084 #844E30 #30844E
tetradic
#4E3084 #84303C #668430 #308478
square
#4E3084 #84303C #668430 #308478
split-complementary
#4E3084 #847830 #3C8430
monochromatic
#190F2A #332057 #4E3084 #6940B1 #8967C8

Accessibility & contrast

On white

10.10
#4E3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3084
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3084#FFFFFF#000000##FFFFFF
##4E30841.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#034182
Tritanopia (blue-blind)
#414355
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3084;
/* rgb */ color: rgb(78, 48, 132);
/* oklch */ color: oklch(39.2% 0.135 296.0);
Tailwind
colors: {
  custom: {
    50: '#846aa8',
    500: '#4e3084',
    950: '#000000',
  },
}
SCSS
$custom: #4e3084;
$custom-light: #846aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3084",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 261.429,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.13478,
    "h": 296
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#4E3084
secondary
#93AF61
accent
#D651A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3084

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

Preview Lab → · Contrast checker → · Palette generator →

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