#4D25AE#4D25AE

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

Color values

HEX#4D25AE
RGBrgb(77, 37, 174)
HSLhsl(258, 65%, 41%)
HSVhsv(258, 79%, 68%)
CMYKcmyk(55.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.30, 51.02, -65.83)
CIE-LCHlch(29.30, 83.29, 307.78°)
OKLaboklab(41.36% 0.0597 -0.1895)
OKLCHoklch(41.36% 0.199 287.5)
XYZxyz(11.3598, 5.9563, 40.5873)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D25AE #86AE25
analogous
#2542AE #4D25AE #9225AE
triadic
#4D25AE #AE4D25 #25AE4D
tetradic
#4D25AE #AE2542 #86AE25 #25AE92
square
#4D25AE #AE2542 #86AE25 #25AE92
split-complementary
#4D25AE #AE9225 #42AE25
monochromatic
#201049 #371A7C #4D25AE #683BD5 #8F6DE0

Accessibility & contrast

On white

9.58
#4D25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4D25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D25AE
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D25AE#FFFFFF#000000##FFFFFF
##4D25AE1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d25ae;
/* rgb */ color: rgb(77, 37, 174);
/* oklch */ color: oklch(41.4% 0.199 287.5);
Tailwind
colors: {
  custom: {
    50: '#8a65c7',
    500: '#4d25ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d25ae;
$custom-light: #8a65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d25ae",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 257.518,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41362,
    "c": 0.19866,
    "h": 287.5
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#4D25AE
secondary
#ABC668
accent
#E840B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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