#4E30AE#4E30AE

#4E30AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.187 H 286.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4E30AE
RGBrgb(78, 48, 174)
HSLhsl(254, 57%, 44%)
HSVhsv(254, 72%, 68%)
CMYKcmyk(55.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(31.32, 45.72, -62.51)
CIE-LCHlch(31.32, 77.44, 306.18°)
OKLaboklab(42.81% 0.0529 -0.1798)
OKLCHoklch(42.81% 0.187 286.4)
XYZxyz(11.8365, 6.7890, 40.7229)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30AE #90AE30
analogous
#3051AE #4E30AE #8D30AE
triadic
#4E30AE #AE4E30 #30AE4E
tetradic
#4E30AE #AE3051 #90AE30 #30AE8D
square
#4E30AE #AE3051 #90AE30 #30AE8D
split-complementary
#4E30AE #AE8D30 #51AE30
monochromatic
#23164E #38237E #4E30AE #6C4DCE #947DDB

Accessibility & contrast

On white

8.91
#4E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30AE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30AE#FFFFFF#000000##FFFFFF
##4E30AE1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#24526C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e30ae;
/* rgb */ color: rgb(78, 48, 174);
/* oklch */ color: oklch(42.8% 0.187 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a6bc7',
    500: '#4e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e30ae;
$custom-light: #8a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30ae",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 254.286,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.18742,
    "h": 286.4
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#4E30AE
secondary
#B1C476
accent
#E048BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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