#4827AF#4827AF

#4827AF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.198 H 284.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4827AF
RGBrgb(72, 39, 175)
HSLhsl(255, 64%, 42%)
HSVhsv(255, 78%, 69%)
CMYKcmyk(58.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(29.22, 49.74, -66.59)
CIE-LCHlch(29.22, 83.11, 306.76°)
OKLaboklab(41.21% 0.0505 -0.1919)
OKLCHoklch(41.21% 0.198 284.7)
XYZxyz(11.1335, 5.9232, 41.1057)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827AF #8EAF27
analogous
#274AAF #4827AF #8C27AF
triadic
#4827AF #AF4827 #27AF48
tetradic
#4827AF #AF274A #8EAF27 #27AF8C
square
#4827AF #AF274A #8EAF27 #27AF8C
split-complementary
#4827AF #AF8C27 #4AAF27
monochromatic
#1F114B #331C7D #4827AF #633FD4 #8C71DF

Accessibility & contrast

On white

9.61
#4827AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4827AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827AF
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827AF#FFFFFF#000000##FFFFFF
##4827AF1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#0A4E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4827af;
/* rgb */ color: rgb(72, 39, 175);
/* oklch */ color: oklch(41.2% 0.198 284.7);
Tailwind
colors: {
  custom: {
    50: '#8766c8',
    500: '#4827af',
    950: '#000000',
  },
}
SCSS
$custom: #4827af;
$custom-light: #8766c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4827af",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 254.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.19839,
    "h": 284.7
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#4827AF
secondary
#B0C66B
accent
#E741BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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