#4E2C88#4E2C88

#4E2C88 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.146 H 295.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4E2C88
RGBrgb(78, 44, 136)
HSLhsl(262, 51%, 35%)
HSVhsv(262, 68%, 53%)
CMYKcmyk(42.6%, 67.6%, 0%, 46.7%)
CIE-LABlab(27.29, 36.86, -45.91)
CIE-LCHlch(27.29, 58.87, 308.76°)
OKLaboklab(38.92% 0.0636 -0.131)
OKLCHoklch(38.92% 0.146 295.9)
XYZxyz(8.4853, 5.1985, 23.8441)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C88 #66882C
analogous
#2C3888 #4E2C88 #7C2C88
triadic
#4E2C88 #884E2C #2C884E
tetradic
#4E2C88 #882C38 #66882C #2C887C
square
#4E2C88 #882C38 #66882C #2C887C
split-complementary
#4E2C88 #887C2C #38882C
monochromatic
#190E2C #331D5A #4E2C88 #693BB6 #8962CC

Accessibility & contrast

On white

10.30
#4E2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C88
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C88#FFFFFF#000000##FFFFFF
##4E2C881.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#3F4256
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2c88;
/* rgb */ color: rgb(78, 44, 136);
/* oklch */ color: oklch(38.9% 0.146 295.9);
Tailwind
colors: {
  custom: {
    50: '#8567ab',
    500: '#4e2c88',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c88;
$custom-light: #8567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c88",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 262.174,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.14564,
    "h": 295.9
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#4E2C88
secondary
#93B35D
accent
#DB4DA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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