#4E259B#4E259B

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

Color values

HEX#4E259B
RGBrgb(78, 37, 155)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 76%, 61%)
CMYKcmyk(49.7%, 76.1%, 0%, 39.2%)
CIE-LABlab(27.60, 45.88, -57.13)
CIE-LCHlch(27.60, 73.28, 308.77°)
OKLaboklab(39.65% 0.0667 -0.164)
OKLCHoklch(39.65% 0.177 292.1)
XYZxyz(9.7182, 5.3090, 31.5167)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E259B #729B25
analogous
#25379B #4E259B #89259B
triadic
#4E259B #9B4E25 #259B4E
tetradic
#4E259B #9B2537 #729B25 #259B89
square
#4E259B #9B2537 #729B25 #259B89
split-complementary
#4E259B #9B8925 #379B25
monochromatic
#1C0D38 #35196A #4E259B #6731CC #8B61D9

Accessibility & contrast

On white

10.19
#4E259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E259B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E259B#FFFFFF#000000##FFFFFF
##4E259B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#35455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e259b;
/* rgb */ color: rgb(78, 37, 155);
/* oklch */ color: oklch(39.6% 0.177 292.1);
Tailwind
colors: {
  custom: {
    50: '#8864b9',
    500: '#4e259b',
    950: '#000000',
  },
}
SCSS
$custom: #4e259b;
$custom-light: #8864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e259b",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 260.847,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.17703,
    "h": 292.1
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4E259B
secondary
#9DBF5D
accent
#E543AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E259B

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

Preview Lab → · Contrast checker → · Palette generator →

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