#4E3183#4E3183

#4E3183 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.3% C 0.132 H 296.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4E3183
RGBrgb(78, 49, 131)
HSLhsl(261, 46%, 35%)
HSVhsv(261, 63%, 51%)
CMYKcmyk(40.5%, 62.6%, 0%, 48.6%)
CIE-LABlab(27.99, 32.52, -41.65)
CIE-LCHlch(27.99, 52.85, 307.98°)
OKLaboklab(39.31% 0.058 -0.1185)
OKLCHoklch(39.31% 0.132 296.1)
XYZxyz(8.3359, 5.4549, 22.0820)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3183 #668331
analogous
#313D83 #4E3183 #773183
triadic
#4E3183 #834E31 #31834E
tetradic
#4E3183 #83313D #668331 #318377
square
#4E3183 #83313D #668331 #318377
split-complementary
#4E3183 #837731 #3D8331
monochromatic
#19102A #332056 #4E3183 #6942B0 #8968C6

Accessibility & contrast

On white

10.04
#4E3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3183
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3183#FFFFFF#000000##FFFFFF
##4E31831.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3183;
/* rgb */ color: rgb(78, 49, 131);
/* oklch */ color: oklch(39.3% 0.132 296.1);
Tailwind
colors: {
  custom: {
    50: '#846aa8',
    500: '#4e3183',
    950: '#000000',
  },
}
SCSS
$custom: #4e3183;
$custom-light: #846aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3183",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 261.22,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.13197,
    "h": 296.1
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#4E3183
secondary
#93AE62
accent
#D553A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3183

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

Preview Lab → · Contrast checker → · Palette generator →

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