#4E25AE#4E25AE

#4E25AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.199 H 288.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4E25AE
RGBrgb(78, 37, 174)
HSLhsl(258, 65%, 41%)
HSVhsv(258, 79%, 68%)
CMYKcmyk(55.2%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.41, 51.15, -65.65)
CIE-LCHlch(29.41, 83.23, 307.92°)
OKLaboklab(41.46% 0.0613 -0.1889)
OKLCHoklch(41.46% 0.199 288)
XYZxyz(11.4412, 5.9982, 40.5911)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E25AE #85AE25
analogous
#2541AE #4E25AE #9325AE
triadic
#4E25AE #AE4E25 #25AE4E
tetradic
#4E25AE #AE2541 #85AE25 #25AE93
square
#4E25AE #AE2541 #85AE25 #25AE93
split-complementary
#4E25AE #AE9325 #41AE25
monochromatic
#211049 #371A7C #4E25AE #693BD5 #906DE0

Accessibility & contrast

On white

9.55
#4E25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E25AE
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E25AE#FFFFFF#000000##FFFFFF
##4E25AE1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#254D69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e25ae;
/* rgb */ color: rgb(78, 37, 174);
/* oklch */ color: oklch(41.5% 0.199 288.0);
Tailwind
colors: {
  custom: {
    50: '#8b65c7',
    500: '#4e25ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e25ae;
$custom-light: #8b65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e25ae",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 257.956,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.19861,
    "h": 288
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#4E25AE
secondary
#AAC668
accent
#E840B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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