#4727B6#4727B6

#4727B6 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.8% C 0.207 H 283.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4727B6
RGBrgb(71, 39, 182)
HSLhsl(253, 65%, 43%)
HSVhsv(253, 79%, 71%)
CMYKcmyk(61%, 78.6%, 0%, 28.6%)
CIE-LABlab(29.83, 51.64, -69.76)
CIE-LCHlch(29.83, 86.79, 306.51°)
OKLaboklab(41.83% 0.0469 -0.2011)
OKLCHoklch(41.83% 0.207 283.1)
XYZxyz(11.7649, 6.1672, 44.8173)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727B6 #96B627
analogous
#274EB6 #4727B6 #8E27B6
triadic
#4727B6 #B64727 #27B647
tetradic
#4727B6 #B6274E #96B627 #27B68E
square
#4727B6 #B6274E #96B627 #27B68E
split-complementary
#4727B6 #B68E27 #4EB627
monochromatic
#201151 #331C84 #4727B6 #6443D7 #8E76E2

Accessibility & contrast

On white

9.40
#4727B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4727B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727B6
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727B6#FFFFFF#000000##FFFFFF
##4727B61.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4727b6;
/* rgb */ color: rgb(71, 39, 182);
/* oklch */ color: oklch(41.8% 0.207 283.1);
Tailwind
colors: {
  custom: {
    50: '#8866cd',
    500: '#4727b6',
    950: '#000000',
  },
}
SCSS
$custom: #4727b6;
$custom-light: #8866cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4727b6",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 253.427,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.20654,
    "h": 283.1
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#4727B6
secondary
#B5C970
accent
#E840C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4727B6

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

Preview Lab → · Contrast checker → · Palette generator →

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