#4727BF#4727BF

#4727BF is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.217 H 281.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4727BF
RGBrgb(71, 39, 191)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 80%, 75%)
CMYKcmyk(62.8%, 79.6%, 0%, 25.1%)
CIE-LABlab(30.76, 54.22, -73.55)
CIE-LCHlch(30.76, 91.37, 306.40°)
OKLaboklab(42.75% 0.0443 -0.2122)
OKLCHoklch(42.75% 0.217 281.8)
XYZxyz(12.7251, 6.5513, 49.8741)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727BF #9FBF27
analogous
#2753BF #4727BF #9327BF
triadic
#4727BF #BF4727 #27BF47
tetradic
#4727BF #BF2753 #9FBF27 #27BF93
square
#4727BF #BF2753 #9FBF27 #27BF93
split-complementary
#4727BF #BF9327 #53BF27
monochromatic
#211259 #341D8C #4727BF #6849DA #927CE4

Accessibility & contrast

On white

9.09
#4727BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4727BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727BF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727BF#FFFFFF#000000##FFFFFF
##4727BF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4727bf;
/* rgb */ color: rgb(71, 39, 191);
/* oklch */ color: oklch(42.8% 0.217 281.8);
Tailwind
colors: {
  custom: {
    50: '#8a67d4',
    500: '#4727bf',
    950: '#000000',
  },
}
SCSS
$custom: #4727bf;
$custom-light: #8a67d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4727bf",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 191
  },
  "hsl": {
    "h": 252.632,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.21676,
    "h": 281.8
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4727BF

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

Preview Lab → · Contrast checker → · Palette generator →

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