#4E3280#4E3280

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

Color values

HEX#4E3280
RGBrgb(78, 50, 128)
HSLhsl(262, 44%, 35%)
HSVhsv(262, 61%, 50%)
CMYKcmyk(39.1%, 60.9%, 0%, 49.8%)
CIE-LABlab(28.01, 31.06, -39.76)
CIE-LCHlch(28.01, 50.45, 308.00°)
OKLaboklab(39.25% 0.0568 -0.113)
OKLCHoklch(39.25% 0.126 296.7)
XYZxyz(8.1778, 5.4593, 21.0408)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3280 #648032
analogous
#323D80 #4E3280 #753280
triadic
#4E3280 #804E32 #32804E
tetradic
#4E3280 #80323D #648032 #328075
square
#4E3280 #80323D #648032 #328075
split-complementary
#4E3280 #807532 #3D8032
monochromatic
#181028 #332154 #4E3280 #6943AC #8968C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3280#FFFFFF#000000##FFFFFF
##4E32801.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)
#034283
Deuteranopia (green-blind)
#12417E
Tritanopia (blue-blind)
#424354
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3280;
/* rgb */ color: rgb(78, 50, 128);
/* oklch */ color: oklch(39.3% 0.126 296.7);
Tailwind
colors: {
  custom: {
    50: '#836ba5',
    500: '#4e3280',
    950: '#000000',
  },
}
SCSS
$custom: #4e3280;
$custom-light: #836ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3280",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 261.538,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.12645,
    "h": 296.7
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#4E3280
secondary
#91AC62
accent
#D454A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3280

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

Preview Lab → · Contrast checker → · Palette generator →

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