#4E30BA#4E30BA

#4E30BA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 43.9% C 0.202 H 284.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E30BA
RGBrgb(78, 48, 186)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 73%)
CMYKcmyk(58.1%, 74.2%, 0%, 27.1%)
CIE-LABlab(32.43, 49.25, -67.82)
CIE-LCHlch(32.43, 83.82, 305.99°)
OKLaboklab(43.93% 0.0502 -0.1954)
OKLCHoklch(43.93% 0.202 284.4)
XYZxyz(13.0591, 7.2780, 47.1615)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BA #9CBA30
analogous
#3057BA #4E30BA #9330BA
triadic
#4E30BA #BA4E30 #30BA4E
tetradic
#4E30BA #BA3057 #9CBA30 #30BA93
square
#4E30BA #BA3057 #9CBA30 #30BA93
split-complementary
#4E30BA #BA9330 #57BA30
monochromatic
#251759 #3A2389 #4E30BA #7054D3 #9985DF

Accessibility & contrast

On white

8.55
#4E30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30BA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BA#FFFFFF#000000##FFFFFF
##4E30BA1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#115673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e30ba;
/* rgb */ color: rgb(78, 48, 186);
/* oklch */ color: oklch(43.9% 0.202 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c6cd0',
    500: '#4e30ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e30ba;
$custom-light: #8c6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30ba",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 253.043,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.2017,
    "h": 284.4
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#4E30BA
secondary
#B8C97D
accent
#E246C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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