#4E279D#4E279D

#4E279D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.177 H 291.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4E279D
RGBrgb(78, 39, 157)
HSLhsl(260, 60%, 38%)
HSVhsv(260, 75%, 62%)
CMYKcmyk(50.3%, 75.2%, 0%, 38.4%)
CIE-LABlab(28.13, 45.46, -57.48)
CIE-LCHlch(28.13, 73.29, 308.34°)
OKLaboklab(40.07% 0.0645 -0.165)
OKLCHoklch(40.07% 0.177 291.4)
XYZxyz(9.9515, 5.5047, 32.4299)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E279D #769D27
analogous
#273B9D #4E279D #89279D
triadic
#4E279D #9D4E27 #279D4E
tetradic
#4E279D #9D273B #769D27 #279D89
square
#4E279D #9D273B #769D27 #279D89
split-complementary
#4E279D #9D8927 #3B9D27
monochromatic
#1D0F3B #361B6C #4E279D #6735CD #8C66D9

Accessibility & contrast

On white

10.00
#4E279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E279D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E279D#FFFFFF#000000##FFFFFF
##4E279D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#344760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e279d;
/* rgb */ color: rgb(78, 39, 157);
/* oklch */ color: oklch(40.1% 0.177 291.4);
Tailwind
colors: {
  custom: {
    50: '#8865bb',
    500: '#4e279d',
    950: '#000000',
  },
}
SCSS
$custom: #4e279d;
$custom-light: #8865bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e279d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 259.831,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.17718,
    "h": 291.4
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#4E279D
secondary
#A0BF61
accent
#E344AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E279D

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

Preview Lab → · Contrast checker → · Palette generator →

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