#4E27DD#4E27DD

#4E27DD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.248 H 280.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E27DD
RGBrgb(78, 39, 221)
HSLhsl(253, 73%, 51%)
HSVhsv(253, 82%, 87%)
CMYKcmyk(64.7%, 82.4%, 0%, 13.3%)
CIE-LABlab(34.58, 63.23, -84.67)
CIE-LCHlch(34.58, 105.67, 306.75°)
OKLaboklab(46.48% 0.0451 -0.2444)
OKLCHoklch(46.48% 0.249 280.5)
XYZxyz(16.9144, 8.2898, 69.1013)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27DD #B6DD27
analogous
#275BDD #4E27DD #A927DD
triadic
#4E27DD #DD4E27 #27DD4E
tetradic
#4E27DD #DD275B #B6DD27 #27DDA9
square
#4E27DD #DD275B #B6DD27 #27DDA9
split-complementary
#4E27DD #DDA927 #5BDD27
monochromatic
#281377 #3A1BAC #4E27DD #795CE5 #A591EE

Accessibility & contrast

On white

7.90
#4E27DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E27DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E27DD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27DD#FFFFFF#000000##FFFFFF
##4E27DD1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057E2
Deuteranopia (green-blind)
#004ADA
Tritanopia (blue-blind)
#006185
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e27dd;
/* rgb */ color: rgb(78, 39, 221);
/* oklch */ color: oklch(46.5% 0.248 280.5);
Tailwind
colors: {
  custom: {
    50: '#9369e9',
    500: '#4e27dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e27dd;
$custom-light: #9369e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27dd",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 221
  },
  "hsl": {
    "h": 252.857,
    "s": 72.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.2485,
    "h": 280.5
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#4E27DD
secondary
#C7D888
accent
#EF38C8
background
#FAF6FE
surface
#F3EBFD
border
#CDC6D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4E27DD

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

Preview Lab → · Contrast checker → · Palette generator →

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