#4825B9#4825B9

#4825B9 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.212 H 283.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4825B9
RGBrgb(72, 37, 185)
HSLhsl(254, 67%, 44%)
HSVhsv(254, 80%, 73%)
CMYKcmyk(61.1%, 80%, 0%, 27.5%)
CIE-LABlab(29.92, 53.52, -71.39)
CIE-LCHlch(29.92, 89.22, 306.86°)
OKLaboklab(42% 0.0487 -0.2058)
OKLCHoklch(42% 0.212 283.3)
XYZxyz(12.0883, 6.2028, 46.4498)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4825B9 #96B925
analogous
#254CB9 #4825B9 #9225B9
triadic
#4825B9 #B94825 #25B948
tetradic
#4825B9 #B9254C #96B925 #25B992
square
#4825B9 #B9254C #96B925 #25B992
split-complementary
#4825B9 #B99225 #4CB925
monochromatic
#201153 #341B86 #4825B9 #6642D9 #8F75E3

Accessibility & contrast

On white

9.37
#4825B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4825B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4825B9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4825B9#FFFFFF#000000##FFFFFF
##4825B91.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4825b9;
/* rgb */ color: rgb(72, 37, 185);
/* oklch */ color: oklch(42.0% 0.212 283.3);
Tailwind
colors: {
  custom: {
    50: '#8965cf',
    500: '#4825b9',
    950: '#000000',
  },
}
SCSS
$custom: #4825b9;
$custom-light: #8965cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4825b9",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 254.189,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.21153,
    "h": 283.3
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#4825B9
secondary
#B5CB6F
accent
#EA3EC1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4825B9

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

Preview Lab → · Contrast checker → · Palette generator →

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