#4825AC#4825AC

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

Color values

HEX#4825AC
RGBrgb(72, 37, 172)
HSLhsl(256, 65%, 41%)
HSVhsv(256, 78%, 67%)
CMYKcmyk(58.1%, 78.5%, 0%, 32.5%)
CIE-LABlab(28.59, 49.83, -65.83)
CIE-LCHlch(28.59, 82.56, 307.12°)
OKLaboklab(40.68% 0.0527 -0.1896)
OKLCHoklch(40.68% 0.197 285.5)
XYZxyz(10.7782, 5.6788, 39.5499)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4825AC #89AC25
analogous
#2545AC #4825AC #8B25AC
triadic
#4825AC #AC4825 #25AC48
tetradic
#4825AC #AC2545 #89AC25 #25AC8B
square
#4825AC #AC2545 #89AC25 #25AC8B
split-complementary
#4825AC #AC8B25 #45AC25
monochromatic
#1E0F47 #331A7A #4825AC #623AD5 #8A6CDF

Accessibility & contrast

On white

9.83
#4825AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4825AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4825AC
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4825AC#FFFFFF#000000##FFFFFF
##4825AC1.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)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#124C68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4825ac;
/* rgb */ color: rgb(72, 37, 172);
/* oklch */ color: oklch(40.7% 0.197 285.5);
Tailwind
colors: {
  custom: {
    50: '#8764c6',
    500: '#4825ac',
    950: '#000000',
  },
}
SCSS
$custom: #4825ac;
$custom-light: #8764c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4825ac",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 255.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.1968,
    "h": 285.5
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#4825AC
secondary
#ADC667
accent
#E840BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4825AC

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

Preview Lab → · Contrast checker → · Palette generator →

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