#4728C0#4728C0

#4728C0 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.217 H 281.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4728C0
RGBrgb(71, 40, 192)
HSLhsl(252, 66%, 45%)
HSVhsv(252, 79%, 75%)
CMYKcmyk(63%, 79.2%, 0%, 24.7%)
CIE-LABlab(31.02, 54.05, -73.70)
CIE-LCHlch(31.02, 91.40, 306.26°)
OKLaboklab(42.97% 0.0434 -0.2126)
OKLCHoklch(42.97% 0.217 281.5)
XYZxyz(12.8688, 6.6620, 50.4667)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728C0 #A1C028
analogous
#2855C0 #4728C0 #9328C0
triadic
#4728C0 #C04728 #28C047
tetradic
#4728C0 #C02855 #A1C028 #28C093
square
#4728C0 #C02855 #A1C028 #28C093
split-complementary
#4728C0 #C09328 #55C028
monochromatic
#22135B #341D8D #4728C0 #694CDA #937EE4

Accessibility & contrast

On white

9.00
#4728C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4728C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728C0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728C0#FFFFFF#000000##FFFFFF
##4728C01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4728c0;
/* rgb */ color: rgb(71, 40, 192);
/* oklch */ color: oklch(43.0% 0.217 281.5);
Tailwind
colors: {
  custom: {
    50: '#8a67d4',
    500: '#4728c0',
    950: '#000000',
  },
}
SCSS
$custom: #4728c0;
$custom-light: #8a67d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4728c0",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 192
  },
  "hsl": {
    "h": 252.237,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.21704,
    "h": 281.5
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#4728C0
secondary
#BBCD77
accent
#E83FC6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4728C0

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

Preview Lab → · Contrast checker → · Palette generator →

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