#4825A2#4825A2

#4825A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.185 H 287.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4825A2
RGBrgb(72, 37, 162)
HSLhsl(257, 63%, 39%)
HSVhsv(257, 77%, 64%)
CMYKcmyk(55.6%, 77.2%, 0%, 36.5%)
CIE-LABlab(27.60, 46.97, -61.42)
CIE-LCHlch(27.60, 77.32, 307.40°)
OKLaboklab(39.69% 0.0556 -0.1767)
OKLCHoklch(39.69% 0.185 287.5)
XYZxyz(9.8537, 5.3090, 34.6809)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4825A2 #7FA225
analogous
#2541A2 #4825A2 #8725A2
triadic
#4825A2 #A24825 #25A248
tetradic
#4825A2 #A22541 #7FA225 #25A287
square
#4825A2 #A22541 #7FA225 #25A287
split-complementary
#4825A2 #A28725 #41A225
monochromatic
#1C0E3E #321A70 #4825A2 #6034D1 #8765DC

Accessibility & contrast

On white

10.19
#4825A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4825A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4825A2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4825A2#FFFFFF#000000##FFFFFF
##4825A21.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#214862
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4825a2;
/* rgb */ color: rgb(72, 37, 162);
/* oklch */ color: oklch(39.7% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#8564bf',
    500: '#4825a2',
    950: '#000000',
  },
}
SCSS
$custom: #4825a2;
$custom-light: #8564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4825a2",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 256.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.18526,
    "h": 287.5
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4825A2
secondary
#A7C261
accent
#E642B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4825A2

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

Preview Lab → · Contrast checker → · Palette generator →

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