#4E30BF#4E30BF

#4E30BF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.208 H 283.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E30BF
RGBrgb(78, 48, 191)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(59.2%, 74.9%, 0%, 25.1%)
CIE-LABlab(32.91, 50.71, -69.99)
CIE-LCHlch(32.91, 86.43, 305.93°)
OKLaboklab(44.41% 0.0489 -0.2017)
OKLCHoklch(44.41% 0.208 283.6)
XYZxyz(13.5999, 7.4943, 50.0100)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BF #A1BF30
analogous
#305ABF #4E30BF #9630BF
triadic
#4E30BF #BF4E30 #30BF4E
tetradic
#4E30BF #BF305A #A1BF30 #30BF96
square
#4E30BF #BF305A #A1BF30 #30BF96
split-complementary
#4E30BF #BF9630 #5ABF30
monochromatic
#26175D #3A248E #4E30BF #7257D5 #9B88E1

Accessibility & contrast

On white

8.40
#4E30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30BF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BF#FFFFFF#000000##FFFFFF
##4E30BF1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#015875
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e30bf;
/* rgb */ color: rgb(78, 48, 191);
/* oklch */ color: oklch(44.4% 0.208 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d6cd4',
    500: '#4e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e30bf;
$custom-light: #8d6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30bf",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 252.587,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.20755,
    "h": 283.6
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#4E30BF
secondary
#BBCB80
accent
#E345C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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