#4727CA#4727CA

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

Color values

HEX#4727CA
RGBrgb(71, 39, 202)
HSLhsl(252, 68%, 47%)
HSVhsv(252, 81%, 79%)
CMYKcmyk(64.9%, 80.7%, 0%, 20.8%)
CIE-LABlab(31.93, 57.35, -78.07)
CIE-LCHlch(31.93, 96.87, 306.30°)
OKLaboklab(43.91% 0.0409 -0.2254)
OKLCHoklch(43.91% 0.229 280.3)
XYZxyz(13.9813, 7.0538, 56.4904)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727CA #AACA27
analogous
#2759CA #4727CA #9927CA
triadic
#4727CA #CA4727 #27CA47
tetradic
#4727CA #CA2759 #AACA27 #27CA99
square
#4727CA #CA2759 #AACA27 #27CA99
split-complementary
#4727CA #CA9927 #59CA27
monochromatic
#231363 #351D97 #4727CA #6C51DD #9884E7

Accessibility & contrast

On white

8.71
#4727CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4727CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727CA
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727CA#FFFFFF#000000##FFFFFF
##4727CA1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4727ca;
/* rgb */ color: rgb(71, 39, 202);
/* oklch */ color: oklch(43.9% 0.229 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c67dc',
    500: '#4727ca',
    950: '#000000',
  },
}
SCSS
$custom: #4727ca;
$custom-light: #8c67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4727ca",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 251.779,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.22905,
    "h": 280.3
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#4727CA
secondary
#C0D07C
accent
#EB3DC9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4727CA

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

Preview Lab → · Contrast checker → · Palette generator →

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