#4E2EB0#4E2EB0

#4E2EB0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.192 H 286.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4E2EB0
RGBrgb(78, 46, 176)
HSLhsl(255, 59%, 44%)
HSVhsv(255, 74%, 69%)
CMYKcmyk(55.7%, 73.9%, 0%, 31%)
CIE-LABlab(31.13, 47.35, -64.01)
CIE-LCHlch(31.13, 79.62, 306.49°)
OKLaboklab(42.73% 0.0541 -0.1842)
OKLCHoklch(42.73% 0.192 286.4)
XYZxyz(11.9530, 6.7076, 41.7307)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EB0 #90B02E
analogous
#2E4FB0 #4E2EB0 #8F2EB0
triadic
#4E2EB0 #B04E2E #2EB04E
tetradic
#4E2EB0 #B02E4F #90B02E #2EB08F
square
#4E2EB0 #B02E4F #90B02E #2EB08F
split-complementary
#4E2EB0 #B08F2E #4FB02E
monochromatic
#23154F #38217F #4E2EB0 #6C4BD0 #947CDD

Accessibility & contrast

On white

8.97
#4E2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EB0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EB0#FFFFFF#000000##FFFFFF
##4E2EB01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#22526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e2eb0;
/* rgb */ color: rgb(78, 46, 176);
/* oklch */ color: oklch(42.7% 0.192 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ac9',
    500: '#4e2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eb0;
$custom-light: #8a6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eb0",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 254.769,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.19197,
    "h": 286.4
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#4E2EB0
secondary
#B1C575
accent
#E246BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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