#4E27C9#4E27C9

#4E27C9 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.227 H 283.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E27C9
RGBrgb(78, 39, 201)
HSLhsl(254, 68%, 47%)
HSVhsv(254, 81%, 79%)
CMYKcmyk(61.2%, 80.6%, 0%, 21.2%)
CIE-LABlab(32.45, 57.75, -76.60)
CIE-LCHlch(32.45, 95.93, 307.01°)
OKLaboklab(44.39% 0.0516 -0.2209)
OKLCHoklch(44.39% 0.227 283.1)
XYZxyz(14.4068, 7.2868, 55.8943)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27C9 #A2C927
analogous
#2751C9 #4E27C9 #9F27C9
triadic
#4E27C9 #C94E27 #27C94E
tetradic
#4E27C9 #C92751 #A2C927 #27C99F
square
#4E27C9 #C92751 #A2C927 #27C99F
split-complementary
#4E27C9 #C99F27 #51C927
monochromatic
#261362 #3A1D96 #4E27C9 #7250DD #9B83E7

Accessibility & contrast

On white

8.54
#4E27C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E27C9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27C9#FFFFFF#000000##FFFFFF
##4E27C91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e27c9;
/* rgb */ color: rgb(78, 39, 201);
/* oklch */ color: oklch(44.4% 0.227 283.1);
Tailwind
colors: {
  custom: {
    50: '#8f68db',
    500: '#4e27c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e27c9;
$custom-light: #8f68db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27c9",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 201
  },
  "hsl": {
    "h": 254.444,
    "s": 67.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.22685,
    "h": 283.1
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#4E27C9
secondary
#BCD07C
accent
#EA3DC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4E27C9

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

Preview Lab → · Contrast checker → · Palette generator →

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