#4E30D0#4E30D0

#4E30D0 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.227 H 281.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E30D0
RGBrgb(78, 48, 208)
HSLhsl(251, 63%, 50%)
HSVhsv(251, 77%, 82%)
CMYKcmyk(62.5%, 76.9%, 0%, 18.4%)
CIE-LABlab(34.57, 55.66, -77.17)
CIE-LCHlch(34.57, 95.15, 305.80°)
OKLaboklab(46.08% 0.0446 -0.2227)
OKLCHoklch(46.08% 0.227 281.3)
XYZxyz(15.5804, 8.2865, 60.4407)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30D0 #B2D030
analogous
#3062D0 #4E30D0 #9E30D0
triadic
#4E30D0 #D04E30 #30D04E
tetradic
#4E30D0 #D03062 #B2D030 #30D09E
square
#4E30D0 #D03062 #B2D030 #30D09E
split-complementary
#4E30D0 #D09E30 #62D030
monochromatic
#29196D #3B249F #4E30D0 #7962DB #A394E7

Accessibility & contrast

On white

7.90
#4E30D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E30D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30D0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30D0#FFFFFF#000000##FFFFFF
##4E30D01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e30d0;
/* rgb */ color: rgb(78, 48, 208);
/* oklch */ color: oklch(46.1% 0.227 281.3);
Tailwind
colors: {
  custom: {
    50: '#906de0',
    500: '#4e30d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e30d0;
$custom-light: #906de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30d0",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 251.25,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.22709,
    "h": 281.3
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#4E30D0
secondary
#C4D28A
accent
#E642C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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