#4A25CA#4A25CA

#4A25CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.230 H 281.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4A25CA
RGBrgb(74, 37, 202)
HSLhsl(253, 69%, 47%)
HSVhsv(253, 82%, 79%)
CMYKcmyk(63.4%, 81.7%, 0%, 20.8%)
CIE-LABlab(31.90, 58.48, -78.11)
CIE-LCHlch(31.90, 97.57, 306.82°)
OKLaboklab(43.95% 0.0463 -0.2254)
OKLCHoklch(43.95% 0.23 281.6)
XYZxyz(14.1429, 7.0422, 56.4797)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25CA #A5CA25
analogous
#2552CA #4A25CA #9D25CA
triadic
#4A25CA #CA4A25 #25CA4A
tetradic
#4A25CA #CA2552 #A5CA25 #25CA9D
square
#4A25CA #CA2552 #A5CA25 #25CA9D
split-complementary
#4A25CA #CA9D25 #52CA25
monochromatic
#241263 #371C96 #4A25CA #6E4EDF #9881E8

Accessibility & contrast

On white

8.72
#4A25CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4A25CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25CA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25CA#FFFFFF#000000##FFFFFF
##4A25CA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a25ca;
/* rgb */ color: rgb(74, 37, 202);
/* oklch */ color: oklch(44.0% 0.230 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d67dc',
    500: '#4a25ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a25ca;
$custom-light: #8d67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25ca",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 253.455,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43952,
    "c": 0.23006,
    "h": 281.6
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#4A25CA
secondary
#BDD17A
accent
#EC3CC4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A25CA

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

Preview Lab → · Contrast checker → · Palette generator →

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