#4827B7#4827B7

#4827B7 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.208 H 283.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4827B7
RGBrgb(72, 39, 183)
HSLhsl(254, 65%, 44%)
HSVhsv(254, 79%, 72%)
CMYKcmyk(60.7%, 78.7%, 0%, 28.2%)
CIE-LABlab(30.03, 52.04, -70.02)
CIE-LCHlch(30.03, 87.24, 306.62°)
OKLaboklab(42.02% 0.0481 -0.2019)
OKLCHoklch(42.02% 0.208 283.4)
XYZxyz(11.9426, 6.2468, 45.3670)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827B7 #96B727
analogous
#274EB7 #4827B7 #9027B7
triadic
#4827B7 #B74827 #27B748
tetradic
#4827B7 #B7274E #96B727 #27B790
square
#4827B7 #B7274E #96B727 #27B790
split-complementary
#4827B7 #B79027 #4EB727
monochromatic
#201152 #341C85 #4827B7 #6644D7 #8F76E2

Accessibility & contrast

On white

9.33
#4827B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4827B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827B7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827B7#FFFFFF#000000##FFFFFF
##4827B71.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.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: #4827b7;
/* rgb */ color: rgb(72, 39, 183);
/* oklch */ color: oklch(42.0% 0.208 283.4);
Tailwind
colors: {
  custom: {
    50: '#8966ce',
    500: '#4827b7',
    950: '#000000',
  },
}
SCSS
$custom: #4827b7;
$custom-light: #8966ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4827b7",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 253.75,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.20755,
    "h": 283.4
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#4827B7
secondary
#B5C970
accent
#E840C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4827B7

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

Preview Lab → · Contrast checker → · Palette generator →

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