#4E2F88#4E2F88

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

Color values

HEX#4E2F88
RGBrgb(78, 47, 136)
HSLhsl(261, 49%, 36%)
HSVhsv(261, 65%, 53%)
CMYKcmyk(42.6%, 65.4%, 0%, 46.7%)
CIE-LABlab(27.93, 35.14, -44.88)
CIE-LCHlch(27.93, 57.00, 308.06°)
OKLaboklab(39.38% 0.0601 -0.128)
OKLCHoklch(39.38% 0.141 295.1)
XYZxyz(8.6012, 5.4301, 23.8827)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F88 #69882F
analogous
#2F3C88 #4E2F88 #7A2F88
triadic
#4E2F88 #884E2F #2F884E
tetradic
#4E2F88 #882F3C #69882F #2F887A
square
#4E2F88 #882F3C #69882F #2F887A
split-complementary
#4E2F88 #887A2F #3C882F
monochromatic
#1A102D #341F5B #4E2F88 #683FB5 #8A67CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2F88#FFFFFF#000000##FFFFFF
##4E2F881.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)
#00438B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#3F4357
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2f88;
/* rgb */ color: rgb(78, 47, 136);
/* oklch */ color: oklch(39.4% 0.141 295.1);
Tailwind
colors: {
  custom: {
    50: '#8469ab',
    500: '#4e2f88',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f88;
$custom-light: #8469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f88",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 260.899,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.14142,
    "h": 295.1
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#4E2F88
secondary
#96B161
accent
#D850A9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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