#4727BD#4727BD

#4727BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.214 H 282.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4727BD
RGBrgb(71, 39, 189)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 79%, 74%)
CMYKcmyk(62.4%, 79.4%, 0%, 25.9%)
CIE-LABlab(30.55, 53.65, -72.71)
CIE-LCHlch(30.55, 90.36, 306.42°)
OKLaboklab(42.55% 0.0449 -0.2097)
OKLCHoklch(42.55% 0.215 282.1)
XYZxyz(12.5065, 6.4638, 48.7228)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727BD #9DBD27
analogous
#2752BD #4727BD #9227BD
triadic
#4727BD #BD4727 #27BD47
tetradic
#4727BD #BD2752 #9DBD27 #27BD92
square
#4727BD #BD2752 #9DBD27 #27BD92
split-complementary
#4727BD #BD9227 #52BD27
monochromatic
#211258 #341D8A #4727BD #6748D9 #917BE4

Accessibility & contrast

On white

9.16
#4727BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4727BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727BD
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727BD#FFFFFF#000000##FFFFFF
##4727BD1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4727bd;
/* rgb */ color: rgb(71, 39, 189);
/* oklch */ color: oklch(42.5% 0.214 282.1);
Tailwind
colors: {
  custom: {
    50: '#8966d2',
    500: '#4727bd',
    950: '#000000',
  },
}
SCSS
$custom: #4727bd;
$custom-light: #8966d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4727bd",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 252.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.2145,
    "h": 282.1
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#4727BD
secondary
#B9CC74
accent
#E93FC5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4727BD

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

Preview Lab → · Contrast checker → · Palette generator →

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