#4A25AC#4A25AC

#4A25AC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.197 H 286.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4A25AC
RGBrgb(74, 37, 172)
HSLhsl(256, 65%, 41%)
HSVhsv(256, 78%, 67%)
CMYKcmyk(57%, 78.5%, 0%, 32.5%)
CIE-LABlab(28.79, 50.08, -65.48)
CIE-LCHlch(28.79, 82.44, 307.41°)
OKLaboklab(40.87% 0.0557 -0.1885)
OKLCHoklch(40.87% 0.197 286.5)
XYZxyz(10.9298, 5.7569, 39.5570)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25AC #87AC25
analogous
#2544AC #4A25AC #8D25AC
triadic
#4A25AC #AC4A25 #25AC4A
tetradic
#4A25AC #AC2544 #87AC25 #25AC8D
square
#4A25AC #AC2544 #87AC25 #25AC8D
split-complementary
#4A25AC #AC8D25 #44AC25
monochromatic
#1F0F47 #341A7A #4A25AC #643AD5 #8C6CDF

Accessibility & contrast

On white

9.76
#4A25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25AC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25AC#FFFFFF#000000##FFFFFF
##4A25AC1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#1B4C68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a25ac;
/* rgb */ color: rgb(74, 37, 172);
/* oklch */ color: oklch(40.9% 0.197 286.5);
Tailwind
colors: {
  custom: {
    50: '#8865c6',
    500: '#4a25ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a25ac;
$custom-light: #8865c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25ac",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 256.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.19662,
    "h": 286.5
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#4A25AC
secondary
#ACC667
accent
#E840BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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