#4E25B0#4E25B0

#4E25B0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.201 H 287.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4E25B0
RGBrgb(78, 37, 176)
HSLhsl(258, 65%, 42%)
HSVhsv(258, 79%, 69%)
CMYKcmyk(55.7%, 79%, 0%, 31%)
CIE-LABlab(29.61, 51.71, -66.52)
CIE-LCHlch(29.61, 84.26, 307.86°)
OKLaboklab(41.66% 0.0607 -0.1915)
OKLCHoklch(41.66% 0.201 287.6)
XYZxyz(11.6376, 6.0768, 41.6256)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E25B0 #87B025
analogous
#2542B0 #4E25B0 #9425B0
triadic
#4E25B0 #B04E25 #25B04E
tetradic
#4E25B0 #B02542 #87B025 #25B094
square
#4E25B0 #B02542 #87B025 #25B094
split-complementary
#4E25B0 #B09425 #42B025
monochromatic
#21104B #381A7D #4E25B0 #6A3CD6 #906FE1

Accessibility & contrast

On white

9.48
#4E25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E25B0
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E25B0#FFFFFF#000000##FFFFFF
##4E25B01.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#234E6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e25b0;
/* rgb */ color: rgb(78, 37, 176);
/* oklch */ color: oklch(41.7% 0.201 287.6);
Tailwind
colors: {
  custom: {
    50: '#8b65c9',
    500: '#4e25b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e25b0;
$custom-light: #8b65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e25b0",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 257.698,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.20085,
    "h": 287.6
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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