#4727AF#4727AF

#4727AF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.199 H 284.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4727AF
RGBrgb(71, 39, 175)
HSLhsl(254, 64%, 42%)
HSVhsv(254, 78%, 69%)
CMYKcmyk(59.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(29.12, 49.61, -66.75)
CIE-LCHlch(29.12, 83.17, 306.62°)
OKLaboklab(41.12% 0.049 -0.1924)
OKLCHoklch(41.12% 0.199 284.3)
XYZxyz(11.0595, 5.8851, 41.1023)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727AF #8FAF27
analogous
#274BAF #4727AF #8B27AF
triadic
#4727AF #AF4727 #27AF47
tetradic
#4727AF #AF274B #8FAF27 #27AF8B
square
#4727AF #AF274B #8FAF27 #27AF8B
split-complementary
#4727AF #AF8B27 #4BAF27
monochromatic
#1E114B #331C7D #4727AF #623FD4 #8B71DF

Accessibility & contrast

On white

9.65
#4727AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4727AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727AF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727AF#FFFFFF#000000##FFFFFF
##4727AF1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#034F6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4727af;
/* rgb */ color: rgb(71, 39, 175);
/* oklch */ color: oklch(41.1% 0.199 284.3);
Tailwind
colors: {
  custom: {
    50: '#8766c8',
    500: '#4727af',
    950: '#000000',
  },
}
SCSS
$custom: #4727af;
$custom-light: #8766c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4727af",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 254.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.1985,
    "h": 284.3
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#4727AF
secondary
#B1C66B
accent
#E741C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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