#4C25A3#4C25A3

#4C25A3 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.186 H 289.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4C25A3
RGBrgb(76, 37, 163)
HSLhsl(259, 63%, 39%)
HSVhsv(259, 77%, 64%)
CMYKcmyk(53.4%, 77.3%, 0%, 36.1%)
CIE-LABlab(28.12, 47.81, -61.14)
CIE-LCHlch(28.12, 77.62, 308.02°)
OKLaboklab(40.19% 0.0615 -0.1758)
OKLCHoklch(40.19% 0.186 289.3)
XYZxyz(10.2510, 5.5035, 35.1654)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C25A3 #7CA325
analogous
#253DA3 #4C25A3 #8B25A3
triadic
#4C25A3 #A34C25 #25A34C
tetradic
#4C25A3 #A3253D #7CA325 #25A38B
square
#4C25A3 #A3253D #7CA325 #25A38B
split-complementary
#4C25A3 #A38B25 #3DA325
monochromatic
#1D0E3F #351A71 #4C25A3 #6534D1 #8B66DC

Accessibility & contrast

On white

10.00
#4C25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C25A3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C25A3#FFFFFF#000000##FFFFFF
##4C25A31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#2B4863
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c25a3;
/* rgb */ color: rgb(76, 37, 163);
/* oklch */ color: oklch(40.2% 0.186 289.3);
Tailwind
colors: {
  custom: {
    50: '#8864bf',
    500: '#4c25a3',
    950: '#000000',
  },
}
SCSS
$custom: #4c25a3;
$custom-light: #8864bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c25a3",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 258.571,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.18623,
    "h": 289.3
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#4C25A3
secondary
#A4C262
accent
#E642B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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