#4E3080#4E3080

#4E3080 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.130 H 297.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4E3080
RGBrgb(78, 48, 128)
HSLhsl(263, 45%, 35%)
HSVhsv(263, 63%, 50%)
CMYKcmyk(39.1%, 62.5%, 0%, 49.8%)
CIE-LABlab(27.55, 32.26, -40.49)
CIE-LCHlch(27.55, 51.77, 308.55°)
OKLaboklab(38.92% 0.0594 -0.1151)
OKLCHoklch(38.92% 0.13 297.3)
XYZxyz(8.0941, 5.2920, 21.0129)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3080 #628030
analogous
#303A80 #4E3080 #763080
triadic
#4E3080 #804E30 #30804E
tetradic
#4E3080 #80303A #628030 #308076
square
#4E3080 #80303A #628030 #308076
split-complementary
#4E3080 #807630 #3A8030
monochromatic
#180F27 #331F53 #4E3080 #6941AD #8965C5

Accessibility & contrast

On white

10.20
#4E3080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E3080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3080
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3080#FFFFFF#000000##FFFFFF
##4E30801.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#0E407E
Tritanopia (blue-blind)
#424153
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3080;
/* rgb */ color: rgb(78, 48, 128);
/* oklch */ color: oklch(38.9% 0.130 297.3);
Tailwind
colors: {
  custom: {
    50: '#836aa5',
    500: '#4e3080',
    950: '#000000',
  },
}
SCSS
$custom: #4e3080;
$custom-light: #836aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3080",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 262.5,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.12954,
    "h": 297.3
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#4E3080
secondary
#90AC5F
accent
#D553A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E3080

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

Preview Lab → · Contrast checker → · Palette generator →

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