#4E25C9#4E25C9

#4E25C9 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.228 H 283.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4E25C9
RGBrgb(78, 37, 201)
HSLhsl(255, 69%, 47%)
HSVhsv(255, 82%, 79%)
CMYKcmyk(61.2%, 81.6%, 0%, 21.2%)
CIE-LABlab(32.17, 58.58, -77.07)
CIE-LCHlch(32.17, 96.81, 307.24°)
OKLaboklab(44.19% 0.0526 -0.2222)
OKLCHoklch(44.19% 0.228 283.3)
XYZxyz(14.3428, 7.1589, 55.8730)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E25C9 #A0C925
analogous
#254EC9 #4E25C9 #A025C9
triadic
#4E25C9 #C94E25 #25C94E
tetradic
#4E25C9 #C9254E #A0C925 #25C9A0
square
#4E25C9 #C9254E #A0C925 #25C9A0
split-complementary
#4E25C9 #C9A025 #4EC925
monochromatic
#261262 #3A1B95 #4E25C9 #714DDE #9A81E8

Accessibility & contrast

On white

8.63
#4E25C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E25C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E25C9
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E25C9#FFFFFF#000000##FFFFFF
##4E25C91.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e25c9;
/* rgb */ color: rgb(78, 37, 201);
/* oklch */ color: oklch(44.2% 0.228 283.3);
Tailwind
colors: {
  custom: {
    50: '#8f67db',
    500: '#4e25c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e25c9;
$custom-light: #8f67db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e25c9",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 201
  },
  "hsl": {
    "h": 255,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.22839,
    "h": 283.3
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#4E25C9
secondary
#BBD079
accent
#EC3CC0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4E25C9

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

Preview Lab → · Contrast checker → · Palette generator →

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