#4825A4#4825A4

#4825A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.188 H 287.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4825A4
RGBrgb(72, 37, 164)
HSLhsl(257, 63%, 39%)
HSVhsv(257, 77%, 64%)
CMYKcmyk(56.1%, 77.4%, 0%, 35.7%)
CIE-LABlab(27.79, 47.54, -62.31)
CIE-LCHlch(27.79, 78.37, 307.34°)
OKLaboklab(39.89% 0.055 -0.1793)
OKLCHoklch(39.89% 0.188 287.1)
XYZxyz(10.0329, 5.3806, 35.6247)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4825A4 #81A425
analogous
#2542A4 #4825A4 #8725A4
triadic
#4825A4 #A44825 #25A448
tetradic
#4825A4 #A42542 #81A425 #25A487
square
#4825A4 #A42542 #81A425 #25A487
split-complementary
#4825A4 #A48725 #42A425
monochromatic
#1C0E40 #321A72 #4825A4 #6035D1 #8767DD

Accessibility & contrast

On white

10.11
#4825A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4825A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4825A4
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4825A4#FFFFFF#000000##FFFFFF
##4825A41.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#1F4963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4825a4;
/* rgb */ color: rgb(72, 37, 164);
/* oklch */ color: oklch(39.9% 0.188 287.1);
Tailwind
colors: {
  custom: {
    50: '#8664c0',
    500: '#4825a4',
    950: '#000000',
  },
}
SCSS
$custom: #4825a4;
$custom-light: #8664c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4825a4",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 256.535,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.18759,
    "h": 287.1
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#4825A4
secondary
#A8C262
accent
#E642B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4825A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4825A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva