#4D25A0#4D25A0

#4D25A0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.183 H 290.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4D25A0
RGBrgb(77, 37, 160)
HSLhsl(260, 62%, 39%)
HSVhsv(260, 77%, 63%)
CMYKcmyk(51.9%, 76.9%, 0%, 37.3%)
CIE-LABlab(27.95, 47.12, -59.61)
CIE-LCHlch(27.95, 75.98, 308.33°)
OKLaboklab(40.01% 0.0638 -0.1713)
OKLCHoklch(40.01% 0.183 290.4)
XYZxyz(10.0655, 5.4386, 33.7703)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D25A0 #78A025
analogous
#253AA0 #4D25A0 #8A25A0
triadic
#4D25A0 #A04D25 #25A04D
tetradic
#4D25A0 #A0253A #78A025 #25A08A
square
#4D25A0 #A0253A #78A025 #25A08A
split-complementary
#4D25A0 #A08A25 #3AA025
monochromatic
#1D0E3D #351A6E #4D25A0 #6632D0 #8B64DB

Accessibility & contrast

On white

10.06
#4D25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D25A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D25A0
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D25A0#FFFFFF#000000##FFFFFF
##4D25A01.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d25a0;
/* rgb */ color: rgb(77, 37, 160);
/* oklch */ color: oklch(40.0% 0.183 290.4);
Tailwind
colors: {
  custom: {
    50: '#8864bd',
    500: '#4d25a0',
    950: '#000000',
  },
}
SCSS
$custom: #4d25a0;
$custom-light: #8864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d25a0",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 259.512,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.18277,
    "h": 290.4
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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