#4E259E#4E259E

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

Color values

HEX#4E259E
RGBrgb(78, 37, 158)
HSLhsl(260, 62%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(50.6%, 76.6%, 0%, 38%)
CIE-LABlab(27.88, 46.71, -58.51)
CIE-LCHlch(27.88, 74.87, 308.61°)
OKLaboklab(39.92% 0.0659 -0.168)
OKLCHoklch(39.92% 0.18 291.4)
XYZxyz(9.9733, 5.4111, 32.8601)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E259E #759E25
analogous
#25389E #4E259E #8A259E
triadic
#4E259E #9E4E25 #259E4E
tetradic
#4E259E #9E2538 #759E25 #259E8A
square
#4E259E #9E2538 #759E25 #259E8A
split-complementary
#4E259E #9E8A25 #389E25
monochromatic
#1D0E3B #36196C #4E259E #6731CF #8B63DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E259E#FFFFFF#000000##FFFFFF
##4E259E1.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)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#334660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e259e;
/* rgb */ color: rgb(78, 37, 158);
/* oklch */ color: oklch(39.9% 0.180 291.4);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4e259e',
    950: '#000000',
  },
}
SCSS
$custom: #4e259e;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e259e",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 260.331,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.18047,
    "h": 291.4
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#4E259E
secondary
#9FC05F
accent
#E543AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E259E

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

Preview Lab → · Contrast checker → · Palette generator →

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