#4E25BA#4E25BA

#4E25BA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.212 H 285.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4E25BA
RGBrgb(78, 37, 186)
HSLhsl(257, 67%, 44%)
HSVhsv(257, 80%, 73%)
CMYKcmyk(58.1%, 80.1%, 0%, 27.1%)
CIE-LABlab(30.61, 54.47, -70.82)
CIE-LCHlch(30.61, 89.35, 307.56°)
OKLaboklab(42.66% 0.0575 -0.204)
OKLCHoklch(42.66% 0.212 285.7)
XYZxyz(12.6637, 6.4872, 47.0297)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E25BA #91BA25
analogous
#2546BA #4E25BA #9825BA
triadic
#4E25BA #BA4E25 #25BA4E
tetradic
#4E25BA #BA2546 #91BA25 #25BA98
square
#4E25BA #BA2546 #91BA25 #25BA98
split-complementary
#4E25BA #BA9825 #46BA25
monochromatic
#231154 #391B87 #4E25BA #6C43DA #9476E4

Accessibility & contrast

On white

9.14
#4E25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E25BA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E25BA#FFFFFF#000000##FFFFFF
##4E25BA1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#135270
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e25ba;
/* rgb */ color: rgb(78, 37, 186);
/* oklch */ color: oklch(42.7% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#8c66d0',
    500: '#4e25ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e25ba;
$custom-light: #8c66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e25ba",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 256.51,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.21197,
    "h": 285.7
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#4E25BA
secondary
#B2CB70
accent
#EA3EBA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4E25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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