#4728B5#4728B5

#4728B5 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.8% C 0.204 H 283.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4728B5
RGBrgb(71, 40, 181)
HSLhsl(253, 64%, 43%)
HSVhsv(253, 78%, 71%)
CMYKcmyk(60.8%, 77.9%, 0%, 29%)
CIE-LABlab(29.89, 50.88, -69.06)
CIE-LCHlch(29.89, 85.77, 306.38°)
OKLaboklab(41.84% 0.0466 -0.1991)
OKLCHoklch(41.84% 0.205 283.2)
XYZxyz(11.6952, 6.1926, 44.2861)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728B5 #96B528
analogous
#2850B5 #4728B5 #8D28B5
triadic
#4728B5 #B54728 #28B547
tetradic
#4728B5 #B52850 #96B528 #28B58D
square
#4728B5 #B52850 #96B528 #28B58D
split-complementary
#4728B5 #B58D28 #50B528
monochromatic
#201251 #331D83 #4728B5 #6444D6 #8E77E1

Accessibility & contrast

On white

9.38
#4728B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4728B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728B5
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728B5#FFFFFF#000000##FFFFFF
##4728B51.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4728b5;
/* rgb */ color: rgb(71, 40, 181);
/* oklch */ color: oklch(41.8% 0.204 283.2);
Tailwind
colors: {
  custom: {
    50: '#8866cc',
    500: '#4728b5',
    950: '#000000',
  },
}
SCSS
$custom: #4728b5;
$custom-light: #8866cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4728b5",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 253.191,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.2045,
    "h": 283.2
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#4728B5
secondary
#B5C870
accent
#E741C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4728B5

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

Preview Lab → · Contrast checker → · Palette generator →

#4728B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva