#4E30C9#4E30C9

#4E30C9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.219 H 282.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E30C9
RGBrgb(78, 48, 201)
HSLhsl(252, 61%, 49%)
HSVhsv(252, 76%, 79%)
CMYKcmyk(61.2%, 76.1%, 0%, 21.2%)
CIE-LABlab(33.88, 53.63, -74.25)
CIE-LCHlch(33.88, 91.59, 305.84°)
OKLaboklab(45.38% 0.0464 -0.2141)
OKLCHoklch(45.38% 0.219 282.2)
XYZxyz(14.7382, 7.9496, 56.0048)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30C9 #ABC930
analogous
#305FC9 #4E30C9 #9B30C9
triadic
#4E30C9 #C94E30 #30C94E
tetradic
#4E30C9 #C9305F #ABC930 #30C99B
square
#4E30C9 #C9305F #ABC930 #30C99B
split-complementary
#4E30C9 #C99B30 #5FC930
monochromatic
#281866 #3B2498 #4E30C9 #765ED8 #A08FE4

Accessibility & contrast

On white

8.11
#4E30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E30C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30C9
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30C9#FFFFFF#000000##FFFFFF
##4E30C91.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e30c9;
/* rgb */ color: rgb(78, 48, 201);
/* oklch */ color: oklch(45.4% 0.219 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e6cdb',
    500: '#4e30c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e30c9;
$custom-light: #8e6cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30c9",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 251.765,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.21911,
    "h": 282.2
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#4E30C9
secondary
#C1CF86
accent
#E543C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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