#4E27BB#4E27BB

#4E27BB is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.211 H 285.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4E27BB
RGBrgb(78, 39, 187)
HSLhsl(256, 65%, 44%)
HSVhsv(256, 79%, 73%)
CMYKcmyk(58.3%, 79.1%, 0%, 26.7%)
CIE-LABlab(31.01, 53.87, -70.74)
CIE-LCHlch(31.01, 88.92, 307.29°)
OKLaboklab(42.97% 0.056 -0.2038)
OKLCHoklch(42.97% 0.211 285.4)
XYZxyz(12.8343, 6.6578, 47.6129)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27BB #94BB27
analogous
#274ABB #4E27BB #9827BB
triadic
#4E27BB #BB4E27 #27BB4E
tetradic
#4E27BB #BB274A #94BB27 #27BB98
square
#4E27BB #BB274A #94BB27 #27BB98
split-complementary
#4E27BB #BB9827 #4ABB27
monochromatic
#241256 #391C88 #4E27BB #6D47D9 #9579E3

Accessibility & contrast

On white

9.01
#4E27BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E27BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E27BB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27BB#FFFFFF#000000##FFFFFF
##4E27BB1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#105371
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e27bb;
/* rgb */ color: rgb(78, 39, 187);
/* oklch */ color: oklch(43.0% 0.211 285.4);
Tailwind
colors: {
  custom: {
    50: '#8d67d1',
    500: '#4e27bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e27bb;
$custom-light: #8d67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27bb",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 255.811,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.21137,
    "h": 285.4
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#4E27BB
secondary
#B4CB73
accent
#E83FBC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4E27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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