#4E30B6#4E30B6

#4E30B6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.197 H 285.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E30B6
RGBrgb(78, 48, 182)
HSLhsl(253, 58%, 45%)
HSVhsv(253, 74%, 71%)
CMYKcmyk(57.1%, 73.6%, 0%, 28.6%)
CIE-LABlab(32.06, 48.07, -66.07)
CIE-LCHlch(32.06, 81.71, 306.04°)
OKLaboklab(43.55% 0.0511 -0.1902)
OKLCHoklch(43.55% 0.197 285)
XYZxyz(12.6398, 7.1102, 44.9533)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30B6 #98B630
analogous
#3055B6 #4E30B6 #9130B6
triadic
#4E30B6 #B64E30 #30B64E
tetradic
#4E30B6 #B63055 #98B630 #30B691
square
#4E30B6 #B63055 #98B630 #30B691
split-complementary
#4E30B6 #B69130 #55B630
monochromatic
#241655 #392386 #4E30B6 #6E52D1 #9782DE

Accessibility & contrast

On white

8.67
#4E30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30B6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30B6#FFFFFF#000000##FFFFFF
##4E30B61.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#195570
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e30b6;
/* rgb */ color: rgb(78, 48, 182);
/* oklch */ color: oklch(43.6% 0.197 285.0);
Tailwind
colors: {
  custom: {
    50: '#8b6ccd',
    500: '#4e30b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e30b6;
$custom-light: #8b6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30b6",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 253.433,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.19698,
    "h": 285
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#4E30B6
secondary
#B6C77B
accent
#E146BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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