#4E279A#4E279A

#4E279A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.174 H 292.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4E279A
RGBrgb(78, 39, 154)
HSLhsl(260, 60%, 38%)
HSVhsv(260, 75%, 60%)
CMYKcmyk(49.4%, 74.7%, 0%, 39.6%)
CIE-LABlab(27.85, 44.62, -56.10)
CIE-LCHlch(27.85, 71.68, 308.50°)
OKLaboklab(39.8% 0.0653 -0.161)
OKLCHoklch(39.8% 0.174 292.1)
XYZxyz(9.6985, 5.4035, 31.0976)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E279A #739A27
analogous
#27399A #4E279A #87279A
triadic
#4E279A #9A4E27 #279A4E
tetradic
#4E279A #9A2739 #739A27 #279A87
square
#4E279A #9A2739 #739A27 #279A87
split-complementary
#4E279A #9A8727 #399A27
monochromatic
#1D0E38 #351B69 #4E279A #6733CB #8B64D8

Accessibility & contrast

On white

10.09
#4E279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E279A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E279A#FFFFFF#000000##FFFFFF
##4E279A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#36465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e279a;
/* rgb */ color: rgb(78, 39, 154);
/* oklch */ color: oklch(39.8% 0.174 292.1);
Tailwind
colors: {
  custom: {
    50: '#8765b9',
    500: '#4e279a',
    950: '#000000',
  },
}
SCSS
$custom: #4e279a;
$custom-light: #8765b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e279a",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 260.348,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.17368,
    "h": 292.1
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#4E279A
secondary
#9EBD5F
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E279A

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

Preview Lab → · Contrast checker → · Palette generator →

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