#4E30B8#4E30B8

#4E30B8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.199 H 284.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4E30B8
RGBrgb(78, 48, 184)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 74%, 72%)
CMYKcmyk(57.6%, 73.9%, 0%, 27.8%)
CIE-LABlab(32.24, 48.66, -66.95)
CIE-LCHlch(32.24, 82.76, 306.01°)
OKLaboklab(43.74% 0.0506 -0.1928)
OKLCHoklch(43.74% 0.199 284.7)
XYZxyz(12.8479, 7.1935, 46.0496)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30B8 #9AB830
analogous
#3056B8 #4E30B8 #9230B8
triadic
#4E30B8 #B84E30 #30B84E
tetradic
#4E30B8 #B83056 #9AB830 #30B892
square
#4E30B8 #B83056 #9AB830 #30B892
split-complementary
#4E30B8 #B89230 #56B830
monochromatic
#251757 #392387 #4E30B8 #6F53D2 #9884DF

Accessibility & contrast

On white

8.61
#4E30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30B8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30B8#FFFFFF#000000##FFFFFF
##4E30B81.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#155671
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e30b8;
/* rgb */ color: rgb(78, 48, 184);
/* oklch */ color: oklch(43.7% 0.199 284.7);
Tailwind
colors: {
  custom: {
    50: '#8b6cce',
    500: '#4e30b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e30b8;
$custom-light: #8b6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30b8",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 253.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.19934,
    "h": 284.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#4E30B8
secondary
#B7C87C
accent
#E246BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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