#4E3082#4E3082

#4E3082 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.132 H 296.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4E3082
RGBrgb(78, 48, 130)
HSLhsl(262, 46%, 35%)
HSVhsv(262, 63%, 51%)
CMYKcmyk(40%, 63.1%, 0%, 49%)
CIE-LABlab(27.70, 32.83, -41.51)
CIE-LCHlch(27.70, 52.92, 308.34°)
OKLaboklab(39.07% 0.0593 -0.1181)
OKLCHoklch(39.07% 0.132 296.7)
XYZxyz(8.2271, 5.3452, 21.7130)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3082 #648230
analogous
#303B82 #4E3082 #773082
triadic
#4E3082 #824E30 #30824E
tetradic
#4E3082 #82303B #648230 #308277
square
#4E3082 #82303B #648230 #308277
split-complementary
#4E3082 #827730 #3B8230
monochromatic
#180F29 #331F55 #4E3082 #6941AF #8966C6

Accessibility & contrast

On white

10.15
#4E3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3082
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3082#FFFFFF#000000##FFFFFF
##4E30821.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#084080
Tritanopia (blue-blind)
#414254
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3082;
/* rgb */ color: rgb(78, 48, 130);
/* oklch */ color: oklch(39.1% 0.132 296.7);
Tailwind
colors: {
  custom: {
    50: '#846aa7',
    500: '#4e3082',
    950: '#000000',
  },
}
SCSS
$custom: #4e3082;
$custom-light: #846aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3082",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 261.951,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.13216,
    "h": 296.7
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#4E3082
secondary
#91AE60
accent
#D652A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E3082

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

Preview Lab → · Contrast checker → · Palette generator →

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