#4E3482#4E3482

#4E3482 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.7% C 0.126 H 295.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3482
RGBrgb(78, 52, 130)
HSLhsl(260, 43%, 36%)
HSVhsv(260, 60%, 51%)
CMYKcmyk(40%, 60%, 0%, 49%)
CIE-LABlab(28.61, 30.42, -40.04)
CIE-LCHlch(28.61, 50.28, 307.23°)
OKLaboklab(39.74% 0.0542 -0.1138)
OKLCHoklch(39.74% 0.126 295.5)
XYZxyz(8.3981, 5.6872, 21.7700)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3482 #688234
analogous
#344182 #4E3482 #753482
triadic
#4E3482 #824E34 #34824E
tetradic
#4E3482 #823441 #688234 #348275
square
#4E3482 #823441 #688234 #348275
split-complementary
#4E3482 #827534 #418234
monochromatic
#1A112B #342356 #4E3482 #6845AE #8A6CC4

Accessibility & contrast

On white

9.83
#4E3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3482
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3482#FFFFFF#000000##FFFFFF
##4E34821.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#414555
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3482;
/* rgb */ color: rgb(78, 52, 130);
/* oklch */ color: oklch(39.7% 0.126 295.5);
Tailwind
colors: {
  custom: {
    50: '#836ca7',
    500: '#4e3482',
    950: '#000000',
  },
}
SCSS
$custom: #4e3482;
$custom-light: #836ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3482",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 260,
    "s": 42.857,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39739,
    "c": 0.12603,
    "h": 295.5
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#4E3482
secondary
#95AC65
accent
#D355A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3482

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

Preview Lab → · Contrast checker → · Palette generator →

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