#4827D0#4827D0

#4827D0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.235 H 279.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4827D0
RGBrgb(72, 39, 208)
HSLhsl(252, 68%, 48%)
HSVhsv(252, 81%, 82%)
CMYKcmyk(65.4%, 81.3%, 0%, 18.4%)
CIE-LABlab(32.66, 59.13, -80.35)
CIE-LCHlch(32.66, 99.76, 306.35°)
OKLaboklab(44.62% 0.0405 -0.232)
OKLCHoklch(44.62% 0.235 279.9)
XYZxyz(14.7795, 7.3816, 60.3082)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827D0 #AFD027
analogous
#275AD0 #4827D0 #9C27D0
triadic
#4827D0 #D04827 #27D048
tetradic
#4827D0 #D0275A #AFD027 #27D09C
square
#4827D0 #D0275A #AFD027 #27D09C
split-complementary
#4827D0 #D09C27 #5AD027
monochromatic
#241469 #361D9C #4827D0 #7055DF #9B89E9

Accessibility & contrast

On white

8.48
#4827D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4827D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827D0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827D0#FFFFFF#000000##FFFFFF
##4827D01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0046CD
Tritanopia (blue-blind)
#005C7D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4827d0;
/* rgb */ color: rgb(72, 39, 208);
/* oklch */ color: oklch(44.6% 0.235 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d68e0',
    500: '#4827d0',
    950: '#000000',
  },
}
SCSS
$custom: #4827d0;
$custom-light: #8d68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4827d0",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 251.716,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.23549,
    "h": 279.9
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#4827D0
secondary
#C2D280
accent
#EB3DC9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4827D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4827D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva