#4E259A#4E259A

#4E259A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.176 H 292.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4E259A
RGBrgb(78, 37, 154)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(49.4%, 76%, 0%, 39.6%)
CIE-LABlab(27.51, 45.61, -56.67)
CIE-LCHlch(27.51, 72.74, 308.83°)
OKLaboklab(39.55% 0.067 -0.1626)
OKLCHoklch(39.55% 0.176 292.4)
XYZxyz(9.6346, 5.2756, 31.0762)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E259A #719A25
analogous
#25369A #4E259A #89259A
triadic
#4E259A #9A4E25 #259A4E
tetradic
#4E259A #9A2536 #719A25 #259A89
square
#4E259A #9A2536 #719A25 #259A89
split-complementary
#4E259A #9A8925 #369A25
monochromatic
#1C0D37 #351969 #4E259A #6731CB #8B60D9

Accessibility & contrast

On white

10.22
#4E259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E259A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E259A#FFFFFF#000000##FFFFFF
##4E259A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e259a;
/* rgb */ color: rgb(78, 37, 154);
/* oklch */ color: oklch(39.6% 0.176 292.4);
Tailwind
colors: {
  custom: {
    50: '#8764b9',
    500: '#4e259a',
    950: '#000000',
  },
}
SCSS
$custom: #4e259a;
$custom-light: #8764b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e259a",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 261.026,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.17588,
    "h": 292.4
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#4E259A
secondary
#9CBE5D
accent
#E443AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E259A

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

Preview Lab → · Contrast checker → · Palette generator →

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