#4A25AA#4A25AA

#4A25AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.194 H 286.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4A25AA
RGBrgb(74, 37, 170)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(56.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(28.59, 49.51, -64.61)
CIE-LCHlch(28.59, 81.40, 307.46°)
OKLaboklab(40.67% 0.0563 -0.186)
OKLCHoklch(40.67% 0.194 286.8)
XYZxyz(10.7391, 5.6807, 38.5530)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25AA #85AA25
analogous
#2542AA #4A25AA #8C25AA
triadic
#4A25AA #AA4A25 #25AA4A
tetradic
#4A25AA #AA2542 #85AA25 #25AA8C
square
#4A25AA #AA2542 #85AA25 #25AA8C
split-complementary
#4A25AA #AA8C25 #42AA25
monochromatic
#1E0F45 #341A78 #4A25AA #6438D4 #8B6BDF

Accessibility & contrast

On white

9.83
#4A25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25AA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25AA#FFFFFF#000000##FFFFFF
##4A25AA1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#1E4B67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a25aa;
/* rgb */ color: rgb(74, 37, 170);
/* oklch */ color: oklch(40.7% 0.194 286.8);
Tailwind
colors: {
  custom: {
    50: '#8865c4',
    500: '#4a25aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a25aa;
$custom-light: #8865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25aa",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 256.692,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.19434,
    "h": 286.8
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#4A25AA
secondary
#AAC566
accent
#E741B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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