#4727A9#4727A9

#4727A9 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.192 H 285.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4727A9
RGBrgb(71, 39, 169)
HSLhsl(255, 63%, 41%)
HSVhsv(255, 77%, 66%)
CMYKcmyk(58%, 76.9%, 0%, 33.7%)
CIE-LABlab(28.52, 47.87, -64.13)
CIE-LCHlch(28.52, 80.03, 306.74°)
OKLaboklab(40.52% 0.0507 -0.1847)
OKLCHoklch(40.52% 0.192 285.3)
XYZxyz(10.4833, 5.6546, 38.0675)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727A9 #89A927
analogous
#2748A9 #4727A9 #8827A9
triadic
#4727A9 #A94727 #27A947
tetradic
#4727A9 #A92748 #89A927 #27A988
square
#4727A9 #A92748 #89A927 #27A988
split-complementary
#4727A9 #A98827 #48A927
monochromatic
#1D1046 #321C77 #4727A9 #603BD2 #896DDD

Accessibility & contrast

On white

9.85
#4727A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4727A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727A9
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727A9#FFFFFF#000000##FFFFFF
##4727A91.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#134C67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4727a9;
/* rgb */ color: rgb(71, 39, 169);
/* oklch */ color: oklch(40.5% 0.192 285.3);
Tailwind
colors: {
  custom: {
    50: '#8665c4',
    500: '#4727a9',
    950: '#000000',
  },
}
SCSS
$custom: #4727a9;
$custom-light: #8665c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4727a9",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 254.769,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.19153,
    "h": 285.3
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#4727A9
secondary
#ADC468
accent
#E642BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4727A9

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

Preview Lab → · Contrast checker → · Palette generator →

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