#4E30A9#4E30A9

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

Color values

HEX#4E30A9
RGBrgb(78, 48, 169)
HSLhsl(255, 56%, 43%)
HSVhsv(255, 72%, 66%)
CMYKcmyk(53.8%, 71.6%, 0%, 33.7%)
CIE-LABlab(30.87, 44.24, -60.25)
CIE-LCHlch(30.87, 74.75, 306.29°)
OKLaboklab(42.35% 0.054 -0.1732)
OKLCHoklch(42.35% 0.181 287.3)
XYZxyz(11.3581, 6.5976, 38.2034)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30A9 #8BA930
analogous
#304FA9 #4E30A9 #8A30A9
triadic
#4E30A9 #A94E30 #30A94E
tetradic
#4E30A9 #A9304F #8BA930 #30A98A
square
#4E30A9 #A9304F #8BA930 #30A98A
split-complementary
#4E30A9 #A98A30 #4FA930
monochromatic
#22154A #382279 #4E30A9 #6B4ACC #927AD9

Accessibility & contrast

On white

9.05
#4E30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E30A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30A9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30A9#FFFFFF#000000##FFFFFF
##4E30A91.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#295069
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e30a9;
/* rgb */ color: rgb(78, 48, 169);
/* oklch */ color: oklch(42.3% 0.181 287.3);
Tailwind
colors: {
  custom: {
    50: '#896bc4',
    500: '#4e30a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e30a9;
$custom-light: #896bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30a9",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 254.876,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.18138,
    "h": 287.3
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#4E30A9
secondary
#AEC273
accent
#DF49BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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