#4E2EAE#4E2EAE

#4E2EAE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.190 H 286.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2EAE
RGBrgb(78, 46, 174)
HSLhsl(255, 58%, 43%)
HSVhsv(255, 74%, 68%)
CMYKcmyk(55.2%, 73.6%, 0%, 31.8%)
CIE-LABlab(30.95, 46.77, -63.12)
CIE-LCHlch(30.95, 78.56, 306.53°)
OKLaboklab(42.54% 0.0545 -0.1816)
OKLCHoklch(42.54% 0.19 286.7)
XYZxyz(11.7566, 6.6291, 40.6962)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EAE #8EAE2E
analogous
#2E4EAE #4E2EAE #8E2EAE
triadic
#4E2EAE #AE4E2E #2EAE4E
tetradic
#4E2EAE #AE2E4E #8EAE2E #2EAE8E
square
#4E2EAE #AE2E4E #8EAE2E #2EAE8E
split-complementary
#4E2EAE #AE8E2E #4EAE2E
monochromatic
#23144D #38217E #4E2EAE #6B4ACF #937ADC

Accessibility & contrast

On white

9.03
#4E2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EAE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EAE#FFFFFF#000000##FFFFFF
##4E2EAE1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#24516B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e2eae;
/* rgb */ color: rgb(78, 46, 174);
/* oklch */ color: oklch(42.5% 0.190 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ac7',
    500: '#4e2eae',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eae;
$custom-light: #8a6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eae",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 255,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42541,
    "c": 0.1896,
    "h": 286.7
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#4E2EAE
secondary
#B0C474
accent
#E146BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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