#4727B2#4727B2

#4727B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.202 H 283.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4727B2
RGBrgb(71, 39, 178)
HSLhsl(254, 64%, 43%)
HSVhsv(254, 78%, 70%)
CMYKcmyk(60.1%, 78.1%, 0%, 30.2%)
CIE-LABlab(29.42, 50.48, -68.04)
CIE-LCHlch(29.42, 84.73, 306.57°)
OKLaboklab(41.42% 0.0481 -0.1961)
OKLCHoklch(41.42% 0.202 283.8)
XYZxyz(11.3575, 6.0042, 42.6713)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4727B2 #92B227
analogous
#274CB2 #4727B2 #8C27B2
triadic
#4727B2 #B24727 #27B247
tetradic
#4727B2 #B2274C #92B227 #27B28C
square
#4727B2 #B2274C #92B227 #27B28C
split-complementary
#4727B2 #B28C27 #4CB227
monochromatic
#1F114E #331C80 #4727B2 #6341D5 #8C73E0

Accessibility & contrast

On white

9.54
#4727B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4727B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4727B2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4727B2#FFFFFF#000000##FFFFFF
##4727B21.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4727b2;
/* rgb */ color: rgb(71, 39, 178);
/* oklch */ color: oklch(41.4% 0.202 283.8);
Tailwind
colors: {
  custom: {
    50: '#8766ca',
    500: '#4727b2',
    950: '#000000',
  },
}
SCSS
$custom: #4727b2;
$custom-light: #8766ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4727b2",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 253.813,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.20195,
    "h": 283.8
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#4727B2
secondary
#B3C86D
accent
#E741C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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