#4E30B0#4E30B0

#4E30B0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.190 H 286.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E30B0
RGBrgb(78, 48, 176)
HSLhsl(254, 57%, 44%)
HSVhsv(254, 73%, 69%)
CMYKcmyk(55.7%, 72.7%, 0%, 31%)
CIE-LABlab(31.50, 46.31, -63.41)
CIE-LCHlch(31.50, 78.51, 306.14°)
OKLaboklab(42.99% 0.0525 -0.1824)
OKLCHoklch(42.99% 0.19 286)
XYZxyz(12.0330, 6.8675, 41.7574)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30B0 #92B030
analogous
#3052B0 #4E30B0 #8E30B0
triadic
#4E30B0 #B04E30 #30B04E
tetradic
#4E30B0 #B03052 #92B030 #30B08E
square
#4E30B0 #B03052 #92B030 #30B08E
split-complementary
#4E30B0 #B08E30 #52B030
monochromatic
#231650 #392380 #4E30B0 #6C4ECF #947EDC

Accessibility & contrast

On white

8.85
#4E30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30B0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30B0#FFFFFF#000000##FFFFFF
##4E30B01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#22536D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e30b0;
/* rgb */ color: rgb(78, 48, 176);
/* oklch */ color: oklch(43.0% 0.190 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a6bc9',
    500: '#4e30b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e30b0;
$custom-light: #8a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30b0",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 254.063,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.18982,
    "h": 286
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#4E30B0
secondary
#B3C577
accent
#E047BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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