#4727D0#4727D0

#4727D0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.236 H 279.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4727D0
RGBrgb(71, 39, 208)
HSLhsl(251, 68%, 48%)
HSVhsv(251, 81%, 82%)
CMYKcmyk(65.9%, 81.3%, 0%, 18.4%)
CIE-LABlab(32.58, 59.04, -80.49)
CIE-LCHlch(32.58, 99.82, 306.26°)
OKLaboklab(44.54% 0.0391 -0.2324)
OKLCHoklch(44.54% 0.236 279.5)
XYZxyz(14.7056, 7.3435, 60.3048)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727D0 #B0D027
analogous
#275BD0 #4727D0 #9B27D0
triadic
#4727D0 #D04727 #27D047
tetradic
#4727D0 #D0275B #B0D027 #27D09B
square
#4727D0 #D0275B #B0D027 #27D09B
split-complementary
#4727D0 #D09B27 #5BD027
monochromatic
#241469 #351D9C #4727D0 #6F55DF #9B89E9

Accessibility & contrast

On white

8.51
#4727D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4727D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727D0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727D0#FFFFFF#000000##FFFFFF
##4727D01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.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: #4727d0;
/* rgb */ color: rgb(71, 39, 208);
/* oklch */ color: oklch(44.5% 0.236 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d68e0',
    500: '#4727d0',
    950: '#000000',
  },
}
SCSS
$custom: #4727d0;
$custom-light: #8d68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4727d0",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 251.361,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.23567,
    "h": 279.5
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#4727D0
secondary
#C3D280
accent
#EB3DCA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4727D0

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

Preview Lab → · Contrast checker → · Palette generator →

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