#4727BC#4727BC

#4727BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.213 H 282.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4727BC
RGBrgb(71, 39, 188)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 79%, 74%)
CMYKcmyk(62.2%, 79.3%, 0%, 26.3%)
CIE-LABlab(30.45, 53.36, -72.29)
CIE-LCHlch(30.45, 89.85, 306.43°)
OKLaboklab(42.44% 0.0452 -0.2085)
OKLCHoklch(42.44% 0.213 282.2)
XYZxyz(12.3983, 6.4206, 48.1532)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727BC #9CBC27
analogous
#2752BC #4727BC #9227BC
triadic
#4727BC #BC4727 #27BC47
tetradic
#4727BC #BC2752 #9CBC27 #27BC92
square
#4727BC #BC2752 #9CBC27 #27BC92
split-complementary
#4727BC #BC9227 #52BC27
monochromatic
#211257 #341C89 #4727BC #6747D9 #917AE3

Accessibility & contrast

On white

9.19
#4727BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4727BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727BC
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727BC#FFFFFF#000000##FFFFFF
##4727BC1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4727bc;
/* rgb */ color: rgb(71, 39, 188);
/* oklch */ color: oklch(42.4% 0.213 282.2);
Tailwind
colors: {
  custom: {
    50: '#8966d2',
    500: '#4727bc',
    950: '#000000',
  },
}
SCSS
$custom: #4727bc;
$custom-light: #8966d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4727bc",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 252.886,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.21337,
    "h": 282.2
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#4727BC
secondary
#B8CB73
accent
#E93FC4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4727BC

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

Preview Lab → · Contrast checker → · Palette generator →

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