#4825B2#4825B2

#4825B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.204 H 284.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4825B2
RGBrgb(72, 37, 178)
HSLhsl(255, 66%, 42%)
HSVhsv(255, 79%, 70%)
CMYKcmyk(59.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(29.20, 51.54, -68.42)
CIE-LCHlch(29.20, 85.65, 306.99°)
OKLaboklab(41.29% 0.0509 -0.1972)
OKLCHoklch(41.29% 0.204 284.5)
XYZxyz(11.3675, 5.9145, 42.6534)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4825B2 #8FB225
analogous
#2548B2 #4825B2 #8F25B2
triadic
#4825B2 #B24825 #25B248
tetradic
#4825B2 #B22548 #8FB225 #25B28F
square
#4825B2 #B22548 #8FB225 #25B28F
split-complementary
#4825B2 #B28F25 #48B225
monochromatic
#1F104D #341A7F #4825B2 #633DD7 #8C70E1

Accessibility & contrast

On white

9.62
#4825B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4825B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4825B2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4825B2#FFFFFF#000000##FFFFFF
##4825B21.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#014F6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4825b2;
/* rgb */ color: rgb(72, 37, 178);
/* oklch */ color: oklch(41.3% 0.204 284.5);
Tailwind
colors: {
  custom: {
    50: '#8865ca',
    500: '#4825b2',
    950: '#000000',
  },
}
SCSS
$custom: #4825b2;
$custom-light: #8865ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4825b2",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 254.894,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.20364,
    "h": 284.5
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#4825B2
secondary
#B1C86B
accent
#E93FBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4825B2

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

Preview Lab → · Contrast checker → · Palette generator →

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