#4E3083#4E3083

#4E3083 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.1% C 0.133 H 296.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E3083
RGBrgb(78, 48, 131)
HSLhsl(262, 46%, 35%)
HSVhsv(262, 63%, 51%)
CMYKcmyk(40.5%, 63.4%, 0%, 48.6%)
CIE-LABlab(27.77, 33.12, -42.02)
CIE-LCHlch(27.77, 53.50, 308.25°)
OKLaboklab(39.15% 0.0592 -0.1196)
OKLCHoklch(39.15% 0.133 296.3)
XYZxyz(8.2945, 5.3721, 22.0682)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3083 #658330
analogous
#303B83 #4E3083 #783083
triadic
#4E3083 #834E30 #30834E
tetradic
#4E3083 #83303B #658330 #308378
square
#4E3083 #83303B #658330 #308378
split-complementary
#4E3083 #837830 #3B8330
monochromatic
#190F29 #332056 #4E3083 #6940B0 #8966C7

Accessibility & contrast

On white

10.12
#4E3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3083
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3083#FFFFFF#000000##FFFFFF
##4E30831.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#064081
Tritanopia (blue-blind)
#414255
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3083;
/* rgb */ color: rgb(78, 48, 131);
/* oklch */ color: oklch(39.1% 0.133 296.3);
Tailwind
colors: {
  custom: {
    50: '#846aa8',
    500: '#4e3083',
    950: '#000000',
  },
}
SCSS
$custom: #4e3083;
$custom-light: #846aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3083",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 261.687,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39149,
    "c": 0.13348,
    "h": 296.3
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#4E3083
secondary
#92AE61
accent
#D652A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3083

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

Preview Lab → · Contrast checker → · Palette generator →

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