#4E2EAF#4E2EAF

#4E2EAF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.191 H 286.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4E2EAF
RGBrgb(78, 46, 175)
HSLhsl(255, 58%, 43%)
HSVhsv(255, 74%, 69%)
CMYKcmyk(55.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(31.04, 47.06, -63.57)
CIE-LCHlch(31.04, 79.09, 306.51°)
OKLaboklab(42.63% 0.0543 -0.1829)
OKLCHoklch(42.63% 0.191 286.5)
XYZxyz(11.8544, 6.6682, 41.2116)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EAF #8FAF2E
analogous
#2E4EAF #4E2EAF #8E2EAF
triadic
#4E2EAF #AF4E2E #2EAF4E
tetradic
#4E2EAF #AF2E4E #8FAF2E #2EAF8E
square
#4E2EAF #AF2E4E #8FAF2E #2EAF8E
split-complementary
#4E2EAF #AF8E2E #4EAF2E
monochromatic
#23154E #38217F #4E2EAF #6C4BD0 #937BDC

Accessibility & contrast

On white

9.00
#4E2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2EAF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EAF#FFFFFF#000000##FFFFFF
##4E2EAF1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#23516C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e2eaf;
/* rgb */ color: rgb(78, 46, 175);
/* oklch */ color: oklch(42.6% 0.191 286.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ac8',
    500: '#4e2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eaf;
$custom-light: #8a6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eaf",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 254.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.19079,
    "h": 286.5
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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