#4E3085#4E3085

#4E3085 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.136 H 295.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4E3085
RGBrgb(78, 48, 133)
HSLhsl(261, 47%, 35%)
HSVhsv(261, 64%, 52%)
CMYKcmyk(41.4%, 63.9%, 0%, 47.8%)
CIE-LABlab(27.92, 33.69, -43.03)
CIE-LCHlch(27.92, 54.65, 308.06°)
OKLaboklab(39.3% 0.0591 -0.1226)
OKLCHoklch(39.3% 0.136 295.7)
XYZxyz(8.4314, 5.4269, 22.7890)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3085 #678530
analogous
#303D85 #4E3085 #783085
triadic
#4E3085 #854E30 #30854E
tetradic
#4E3085 #85303D #678530 #308578
square
#4E3085 #85303D #678530 #308578
split-complementary
#4E3085 #857830 #3D8530
monochromatic
#19102B #342058 #4E3085 #6840B2 #8967C8

Accessibility & contrast

On white

10.07
#4E3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3085
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3085#FFFFFF#000000##FFFFFF
##4E30851.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#004183
Tritanopia (blue-blind)
#404356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3085;
/* rgb */ color: rgb(78, 48, 133);
/* oklch */ color: oklch(39.3% 0.136 295.7);
Tailwind
colors: {
  custom: {
    50: '#846aa9',
    500: '#4e3085',
    950: '#000000',
  },
}
SCSS
$custom: #4e3085;
$custom-light: #846aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3085",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 261.176,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.13609,
    "h": 295.7
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#4E3085
secondary
#94AF61
accent
#D751A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3085

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

Preview Lab → · Contrast checker → · Palette generator →

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