#4A25AE#4A25AE

#4A25AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.199 H 286.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4A25AE
RGBrgb(74, 37, 174)
HSLhsl(256, 65%, 41%)
HSVhsv(256, 79%, 68%)
CMYKcmyk(57.5%, 78.7%, 0%, 31.8%)
CIE-LABlab(28.99, 50.64, -66.35)
CIE-LCHlch(28.99, 83.47, 307.35°)
OKLaboklab(41.07% 0.0551 -0.1911)
OKLCHoklch(41.07% 0.199 286.1)
XYZxyz(11.1233, 5.8343, 40.5762)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25AE #89AE25
analogous
#2545AE #4A25AE #8F25AE
triadic
#4A25AE #AE4A25 #25AE4A
tetradic
#4A25AE #AE2545 #89AE25 #25AE8F
square
#4A25AE #AE2545 #89AE25 #25AE8F
split-complementary
#4A25AE #AE8F25 #45AE25
monochromatic
#1F1049 #351A7C #4A25AE #653BD5 #8C6DE0

Accessibility & contrast

On white

9.69
#4A25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25AE
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25AE#FFFFFF#000000##FFFFFF
##4A25AE1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#184D69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a25ae;
/* rgb */ color: rgb(74, 37, 174);
/* oklch */ color: oklch(41.1% 0.199 286.1);
Tailwind
colors: {
  custom: {
    50: '#8865c7',
    500: '#4a25ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a25ae;
$custom-light: #8865c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25ae",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 256.204,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.19889,
    "h": 286.1
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#4A25AE
secondary
#ADC668
accent
#E840BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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