#4E30BC#4E30BC

#4E30BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.1% C 0.204 H 284.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4E30BC
RGBrgb(78, 48, 188)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 74%)
CMYKcmyk(58.5%, 74.5%, 0%, 26.3%)
CIE-LABlab(32.62, 49.84, -68.69)
CIE-LCHlch(32.62, 84.86, 305.96°)
OKLaboklab(44.12% 0.0497 -0.1979)
OKLCHoklch(44.12% 0.204 284.1)
XYZxyz(13.2732, 7.3636, 48.2891)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BC #9EBC30
analogous
#3058BC #4E30BC #9430BC
triadic
#4E30BC #BC4E30 #30BC4E
tetradic
#4E30BC #BC3058 #9EBC30 #30BC94
square
#4E30BC #BC3058 #9EBC30 #30BC94
split-complementary
#4E30BC #BC9430 #58BC30
monochromatic
#26175A #3A248B #4E30BC #7155D4 #9A86E0

Accessibility & contrast

On white

8.49
#4E30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30BC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BC#FFFFFF#000000##FFFFFF
##4E30BC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#0B5774
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e30bc;
/* rgb */ color: rgb(78, 48, 188);
/* oklch */ color: oklch(44.1% 0.204 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c6cd1',
    500: '#4e30bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e30bc;
$custom-light: #8c6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30bc",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 252.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.20404,
    "h": 284.1
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#4E30BC
secondary
#BACA7E
accent
#E345C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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