#4827CA#4827CA

#4827CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.229 H 280.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4827CA
RGBrgb(72, 39, 202)
HSLhsl(252, 68%, 47%)
HSVhsv(252, 81%, 79%)
CMYKcmyk(64.4%, 80.7%, 0%, 20.8%)
CIE-LABlab(32.02, 57.44, -77.93)
CIE-LCHlch(32.02, 96.81, 306.40°)
OKLaboklab(43.99% 0.0424 -0.2249)
OKLCHoklch(43.99% 0.229 280.7)
XYZxyz(14.0553, 7.0919, 56.4939)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827CA #A9CA27
analogous
#2758CA #4827CA #9927CA
triadic
#4827CA #CA4827 #27CA48
tetradic
#4827CA #CA2758 #A9CA27 #27CA99
square
#4827CA #CA2758 #A9CA27 #27CA99
split-complementary
#4827CA #CA9927 #58CA27
monochromatic
#231363 #361D97 #4827CA #6D51DD #9884E7

Accessibility & contrast

On white

8.68
#4827CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4827CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827CA
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827CA#FFFFFF#000000##FFFFFF
##4827CA1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4827ca;
/* rgb */ color: rgb(72, 39, 202);
/* oklch */ color: oklch(44.0% 0.229 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c67dc',
    500: '#4827ca',
    950: '#000000',
  },
}
SCSS
$custom: #4827ca;
$custom-light: #8c67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4827ca",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 252.147,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.22887,
    "h": 280.7
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#4827CA
secondary
#BFD07C
accent
#EB3DC7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4827CA

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

Preview Lab → · Contrast checker → · Palette generator →

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