#4E25A0#4E25A0

#4E25A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.183 H 291.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E25A0
RGBrgb(78, 37, 160)
HSLhsl(260, 62%, 39%)
HSVhsv(260, 77%, 63%)
CMYKcmyk(51.2%, 76.9%, 0%, 37.3%)
CIE-LABlab(28.06, 47.27, -59.42)
CIE-LCHlch(28.06, 75.93, 308.50°)
OKLaboklab(40.11% 0.0654 -0.1707)
OKLCHoklch(40.11% 0.183 291)
XYZxyz(10.1468, 5.4805, 33.7741)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E25A0 #77A025
analogous
#2539A0 #4E25A0 #8B25A0
triadic
#4E25A0 #A04E25 #25A04E
tetradic
#4E25A0 #A02539 #77A025 #25A08B
square
#4E25A0 #A02539 #77A025 #25A08B
split-complementary
#4E25A0 #A08B25 #39A025
monochromatic
#1E0E3D #361A6E #4E25A0 #6732D0 #8C64DB

Accessibility & contrast

On white

10.02
#4E25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E25A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E25A0
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E25A0#FFFFFF#000000##FFFFFF
##4E25A01.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#324761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e25a0;
/* rgb */ color: rgb(78, 37, 160);
/* oklch */ color: oklch(40.1% 0.183 291.0);
Tailwind
colors: {
  custom: {
    50: '#8864bd',
    500: '#4e25a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e25a0;
$custom-light: #8864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e25a0",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 260,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.18276,
    "h": 291
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#4E25A0
secondary
#A1C160
accent
#E642AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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