#4E30BD#4E30BD

#4E30BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.205 H 283.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E30BD
RGBrgb(78, 48, 189)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 75%, 74%)
CMYKcmyk(58.7%, 74.6%, 0%, 25.9%)
CIE-LABlab(32.72, 50.13, -69.12)
CIE-LCHlch(32.72, 85.39, 305.95°)
OKLaboklab(44.22% 0.0494 -0.1992)
OKLCHoklch(44.22% 0.205 283.9)
XYZxyz(13.3813, 7.4069, 48.8588)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BD #9FBD30
analogous
#3059BD #4E30BD #9530BD
triadic
#4E30BD #BD4E30 #30BD4E
tetradic
#4E30BD #BD3059 #9FBD30 #30BD95
square
#4E30BD #BD3059 #9FBD30 #30BD95
split-complementary
#4E30BD #BD9530 #59BD30
monochromatic
#26175B #3A248C #4E30BD #7156D4 #9A87E0

Accessibility & contrast

On white

8.46
#4E30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30BD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BD#FFFFFF#000000##FFFFFF
##4E30BD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#085874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e30bd;
/* rgb */ color: rgb(78, 48, 189);
/* oklch */ color: oklch(44.2% 0.205 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c6cd2',
    500: '#4e30bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e30bd;
$custom-light: #8c6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30bd",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 252.766,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.20521,
    "h": 283.9
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#4E30BD
secondary
#BACA7F
accent
#E345C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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