#4828B7#4828B7

#4828B7 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.207 H 283.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4828B7
RGBrgb(72, 40, 183)
HSLhsl(253, 64%, 44%)
HSVhsv(253, 78%, 72%)
CMYKcmyk(60.7%, 78.1%, 0%, 28.2%)
CIE-LABlab(30.19, 51.57, -69.75)
CIE-LCHlch(30.19, 86.75, 306.48°)
OKLaboklab(42.13% 0.0475 -0.2011)
OKLCHoklch(42.13% 0.207 283.3)
XYZxyz(11.9759, 6.3134, 45.3781)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828B7 #97B728
analogous
#284FB7 #4828B7 #8F28B7
triadic
#4828B7 #B74828 #28B748
tetradic
#4828B7 #B7284F #97B728 #28B78F
square
#4828B7 #B7284F #97B728 #28B78F
split-complementary
#4828B7 #B78F28 #4FB728
monochromatic
#201253 #341D85 #4828B7 #6646D6 #9078E1

Accessibility & contrast

On white

9.28
#4828B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4828B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828B7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828B7#FFFFFF#000000##FFFFFF
##4828B71.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4828b7;
/* rgb */ color: rgb(72, 40, 183);
/* oklch */ color: oklch(42.1% 0.207 283.3);
Tailwind
colors: {
  custom: {
    50: '#8967ce',
    500: '#4828b7',
    950: '#000000',
  },
}
SCSS
$custom: #4828b7;
$custom-light: #8967ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4828b7",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 253.427,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42132,
    "c": 0.20666,
    "h": 283.3
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#4828B7
secondary
#B6C972
accent
#E741C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4828B7

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

Preview Lab → · Contrast checker → · Palette generator →

#4828B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva