#4A25BA#4A25BA

#4A25BA is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.212 H 284.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4A25BA
RGBrgb(74, 37, 186)
HSLhsl(255, 67%, 44%)
HSVhsv(255, 80%, 73%)
CMYKcmyk(60.2%, 80.1%, 0%, 27.1%)
CIE-LABlab(30.21, 54.02, -71.49)
CIE-LCHlch(30.21, 89.60, 307.08°)
OKLaboklab(42.29% 0.0514 -0.2061)
OKLCHoklch(42.29% 0.212 284)
XYZxyz(12.3458, 6.3233, 47.0148)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25BA #95BA25
analogous
#254BBA #4A25BA #9425BA
triadic
#4A25BA #BA4A25 #25BA4A
tetradic
#4A25BA #BA254B #95BA25 #25BA94
square
#4A25BA #BA254B #95BA25 #25BA94
split-complementary
#4A25BA #BA9425 #4BBA25
monochromatic
#211154 #361B87 #4A25BA #6843DA #9176E4

Accessibility & contrast

On white

9.27
#4A25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25BA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25BA#FFFFFF#000000##FFFFFF
##4A25BA1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a25ba;
/* rgb */ color: rgb(74, 37, 186);
/* oklch */ color: oklch(42.3% 0.212 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a65d0',
    500: '#4a25ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a25ba;
$custom-light: #8a65d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25ba",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 254.899,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42286,
    "c": 0.2124,
    "h": 284
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#4A25BA
secondary
#B4CB70
accent
#EA3EBF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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