#4E30BB#4E30BB

#4E30BB is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.203 H 284.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E30BB
RGBrgb(78, 48, 187)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 73%)
CMYKcmyk(58.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.53, 49.54, -68.26)
CIE-LCHlch(32.53, 84.34, 305.97°)
OKLaboklab(44.02% 0.0499 -0.1966)
OKLCHoklch(44.02% 0.203 284.2)
XYZxyz(13.1657, 7.3206, 47.7233)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BB #9DBB30
analogous
#3057BB #4E30BB #9330BB
triadic
#4E30BB #BB4E30 #30BB4E
tetradic
#4E30BB #BB3057 #9DBB30 #30BB93
square
#4E30BB #BB3057 #9DBB30 #30BB93
split-complementary
#4E30BB #BB9330 #57BB30
monochromatic
#25175A #3A238A #4E30BB #7055D3 #9986E0

Accessibility & contrast

On white

8.52
#4E30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E30BB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BB#FFFFFF#000000##FFFFFF
##4E30BB1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#0E5773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e30bb;
/* rgb */ color: rgb(78, 48, 187);
/* oklch */ color: oklch(44.0% 0.203 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cd1',
    500: '#4e30bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e30bb;
$custom-light: #8c6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30bb",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 252.95,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.20287,
    "h": 284.2
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#4E30BB
secondary
#B9C97D
accent
#E245C0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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