#4E2EAB#4E2EAB

#4E2EAB is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.186 H 287.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2EAB
RGBrgb(78, 46, 171)
HSLhsl(255, 58%, 43%)
HSVhsv(255, 73%, 67%)
CMYKcmyk(54.4%, 73.1%, 0%, 32.9%)
CIE-LABlab(30.67, 45.89, -61.78)
CIE-LCHlch(30.67, 76.96, 306.61°)
OKLaboklab(42.26% 0.0552 -0.1776)
OKLCHoklch(42.26% 0.186 287.3)
XYZxyz(11.4674, 6.5134, 39.1731)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EAB #8BAB2E
analogous
#2E4CAB #4E2EAB #8D2EAB
triadic
#4E2EAB #AB4E2E #2EAB4E
tetradic
#4E2EAB #AB2E4C #8BAB2E #2EAB8D
square
#4E2EAB #AB2E4C #8BAB2E #2EAB8D
split-complementary
#4E2EAB #AB8D2E #4CAB2E
monochromatic
#22144B #38217B #4E2EAB #6B48CE #9279DB

Accessibility & contrast

On white

9.12
#4E2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EAB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EAB#FFFFFF#000000##FFFFFF
##4E2EAB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#27506A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2eab;
/* rgb */ color: rgb(78, 46, 171);
/* oklch */ color: oklch(42.3% 0.186 287.3);
Tailwind
colors: {
  custom: {
    50: '#896ac5',
    500: '#4e2eab',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eab;
$custom-light: #896ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eab",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 255.36,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.18604,
    "h": 287.3
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#4E2EAB
secondary
#AEC372
accent
#E147B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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