#4E279F#4E279F

#4E279F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.180 H 290.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4E279F
RGBrgb(78, 39, 159)
HSLhsl(260, 61%, 39%)
HSVhsv(260, 75%, 62%)
CMYKcmyk(50.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(28.31, 46.02, -58.40)
CIE-LCHlch(28.31, 74.35, 308.24°)
OKLaboklab(40.26% 0.064 -0.1677)
OKLCHoklch(40.26% 0.18 290.9)
XYZxyz(10.1236, 5.5735, 33.3365)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E279F #789F27
analogous
#273C9F #4E279F #8A279F
triadic
#4E279F #9F4E27 #279F4E
tetradic
#4E279F #9F273C #789F27 #279F8A
square
#4E279F #9F273C #789F27 #279F8A
split-complementary
#4E279F #9F8A27 #3C9F27
monochromatic
#1E0F3D #361B6E #4E279F #6736CE #8C67DA

Accessibility & contrast

On white

9.93
#4E279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E279F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E279F#FFFFFF#000000##FFFFFF
##4E279F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#324861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e279f;
/* rgb */ color: rgb(78, 39, 159);
/* oklch */ color: oklch(40.3% 0.180 290.9);
Tailwind
colors: {
  custom: {
    50: '#8865bc',
    500: '#4e279f',
    950: '#000000',
  },
}
SCSS
$custom: #4e279f;
$custom-light: #8865bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e279f",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 259.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.17951,
    "h": 290.9
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#4E279F
secondary
#A1C062
accent
#E444B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E279F

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

Preview Lab → · Contrast checker → · Palette generator →

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