#4E2EBA#4E2EBA

#4E2EBA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.204 H 284.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E2EBA
RGBrgb(78, 46, 186)
HSLhsl(254, 60%, 45%)
HSVhsv(254, 75%, 73%)
CMYKcmyk(58.1%, 75.3%, 0%, 27.1%)
CIE-LABlab(32.07, 50.26, -68.41)
CIE-LCHlch(32.07, 84.89, 306.31°)
OKLaboklab(43.68% 0.0516 -0.1971)
OKLCHoklch(43.68% 0.204 284.7)
XYZxyz(12.9791, 7.1181, 47.1349)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EBA #9ABA2E
analogous
#2E54BA #4E2EBA #942EBA
triadic
#4E2EBA #BA4E2E #2EBA4E
tetradic
#4E2EBA #BA2E54 #9ABA2E #2EBA94
square
#4E2EBA #BA2E54 #9ABA2E #2EBA94
split-complementary
#4E2EBA #BA942E #54BA2E
monochromatic
#251658 #392289 #4E2EBA #6F51D4 #9882E0

Accessibility & contrast

On white

8.66
#4E2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E2EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EBA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EBA#FFFFFF#000000##FFFFFF
##4E2EBA1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#115572
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e2eba;
/* rgb */ color: rgb(78, 46, 186);
/* oklch */ color: oklch(43.7% 0.204 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c6bd0',
    500: '#4e2eba',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eba;
$custom-light: #8c6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eba",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 253.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.20371,
    "h": 284.7
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#4E2EBA
secondary
#B7C97B
accent
#E344BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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