#4E2E86#4E2E86

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

Color values

HEX#4E2E86
RGBrgb(78, 46, 134)
HSLhsl(262, 49%, 35%)
HSVhsv(262, 66%, 53%)
CMYKcmyk(41.8%, 65.7%, 0%, 47.5%)
CIE-LABlab(27.56, 35.15, -44.23)
CIE-LCHlch(27.56, 56.49, 308.47°)
OKLaboklab(39.07% 0.0615 -0.1261)
OKLCHoklch(39.07% 0.14 296)
XYZxyz(8.4208, 5.2948, 23.1280)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E86 #66862E
analogous
#2E3A86 #4E2E86 #7A2E86
triadic
#4E2E86 #864E2E #2E864E
tetradic
#4E2E86 #862E3A #66862E #2E867A
square
#4E2E86 #862E3A #66862E #2E867A
split-complementary
#4E2E86 #867A2E #3A862E
monochromatic
#190F2B #331E58 #4E2E86 #693EB4 #8964CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2E86#FFFFFF#000000##FFFFFF
##4E2E861.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)
#004289
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#404255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2e86;
/* rgb */ color: rgb(78, 46, 134);
/* oklch */ color: oklch(39.1% 0.140 296.0);
Tailwind
colors: {
  custom: {
    50: '#8469aa',
    500: '#4e2e86',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e86;
$custom-light: #8469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e86",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 261.818,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39067,
    "c": 0.14029,
    "h": 296
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#4E2E86
secondary
#93B15F
accent
#D84FA7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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