#4E2F84#4E2F84

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

Color values

HEX#4E2F84
RGBrgb(78, 47, 132)
HSLhsl(262, 47%, 35%)
HSVhsv(262, 64%, 52%)
CMYKcmyk(40.9%, 64.4%, 0%, 48.2%)
CIE-LABlab(27.62, 33.99, -42.88)
CIE-LCHlch(27.62, 54.72, 308.41°)
OKLaboklab(39.07% 0.0604 -0.1221)
OKLCHoklch(39.07% 0.136 296.3)
XYZxyz(8.3222, 5.3185, 22.4134)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F84 #65842F
analogous
#2F3B84 #4E2F84 #782F84
triadic
#4E2F84 #844E2F #2F844E
tetradic
#4E2F84 #842F3B #65842F #2F8478
square
#4E2F84 #842F3B #65842F #2F8478
split-complementary
#4E2F84 #84782F #3B842F
monochromatic
#190F2A #331F57 #4E2F84 #693FB1 #8965C8

Accessibility & contrast

On white

10.18
#4E2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F84
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F84#FFFFFF#000000##FFFFFF
##4E2F841.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#414255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2f84;
/* rgb */ color: rgb(78, 47, 132);
/* oklch */ color: oklch(39.1% 0.136 296.3);
Tailwind
colors: {
  custom: {
    50: '#8469a8',
    500: '#4e2f84',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f84;
$custom-light: #8469a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f84",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 261.882,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.13626,
    "h": 296.3
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#4E2F84
secondary
#92AF60
accent
#D751A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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