#4A25A3#4A25A3

#4A25A3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.186 H 288.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4A25A3
RGBrgb(74, 37, 163)
HSLhsl(258, 63%, 39%)
HSVhsv(258, 77%, 64%)
CMYKcmyk(54.6%, 77.3%, 0%, 36.1%)
CIE-LABlab(27.91, 47.53, -61.51)
CIE-LCHlch(27.91, 77.73, 307.69°)
OKLaboklab(39.99% 0.0584 -0.1769)
OKLCHoklch(39.99% 0.186 288.3)
XYZxyz(10.0945, 5.4228, 35.1580)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25A3 #7EA325
analogous
#253FA3 #4A25A3 #8925A3
triadic
#4A25A3 #A34A25 #25A34A
tetradic
#4A25A3 #A3253F #7EA325 #25A389
square
#4A25A3 #A3253F #7EA325 #25A389
split-complementary
#4A25A3 #A38925 #3FA325
monochromatic
#1D0E3F #331A71 #4A25A3 #6234D1 #8966DC

Accessibility & contrast

On white

10.07
#4A25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25A3
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25A3#FFFFFF#000000##FFFFFF
##4A25A31.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a25a3;
/* rgb */ color: rgb(74, 37, 163);
/* oklch */ color: oklch(40.0% 0.186 288.3);
Tailwind
colors: {
  custom: {
    50: '#8764bf',
    500: '#4a25a3',
    950: '#000000',
  },
}
SCSS
$custom: #4a25a3;
$custom-light: #8764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25a3",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 257.619,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.18631,
    "h": 288.3
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#4A25A3
secondary
#A6C262
accent
#E642B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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