#4C25AE#4C25AE

#4C25AE is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.199 H 287.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4C25AE
RGBrgb(76, 37, 174)
HSLhsl(257, 65%, 41%)
HSVhsv(257, 79%, 68%)
CMYKcmyk(56.3%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.20, 50.90, -66.01)
CIE-LCHlch(29.20, 83.35, 307.63°)
OKLaboklab(41.26% 0.0582 -0.19)
OKLCHoklch(41.26% 0.199 287)
XYZxyz(11.2798, 5.9150, 40.5835)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C25AE #87AE25
analogous
#2543AE #4C25AE #9125AE
triadic
#4C25AE #AE4C25 #25AE4C
tetradic
#4C25AE #AE2543 #87AE25 #25AE91
square
#4C25AE #AE2543 #87AE25 #25AE91
split-complementary
#4C25AE #AE9125 #43AE25
monochromatic
#201049 #361A7C #4C25AE #673BD5 #8E6DE0

Accessibility & contrast

On white

9.62
#4C25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4C25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C25AE
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C25AE#FFFFFF#000000##FFFFFF
##4C25AE1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c25ae;
/* rgb */ color: rgb(76, 37, 174);
/* oklch */ color: oklch(41.3% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#8965c7',
    500: '#4c25ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c25ae;
$custom-light: #8965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c25ae",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 257.08,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41264,
    "c": 0.19873,
    "h": 287
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#4C25AE
secondary
#ACC668
accent
#E840B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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