#4728B3#4728B3

#4728B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.202 H 283.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4728B3
RGBrgb(71, 40, 179)
HSLhsl(253, 63%, 43%)
HSVhsv(253, 78%, 70%)
CMYKcmyk(60.3%, 77.7%, 0%, 29.8%)
CIE-LABlab(29.69, 50.29, -68.20)
CIE-LCHlch(29.69, 84.74, 306.41°)
OKLaboklab(41.64% 0.0472 -0.1966)
OKLCHoklch(41.64% 0.202 283.5)
XYZxyz(11.4915, 6.1111, 43.2131)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728B3 #94B328
analogous
#284FB3 #4728B3 #8C28B3
triadic
#4728B3 #B34728 #28B347
tetradic
#4728B3 #B3284F #94B328 #28B38C
square
#4728B3 #B3284F #94B328 #28B38C
split-complementary
#4728B3 #B38C28 #4FB328
monochromatic
#1F124F #331D81 #4728B3 #6443D5 #8D75E0

Accessibility & contrast

On white

9.45
#4728B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4728B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728B3
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728B3#FFFFFF#000000##FFFFFF
##4728B31.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4728b3;
/* rgb */ color: rgb(71, 40, 179);
/* oklch */ color: oklch(41.6% 0.202 283.5);
Tailwind
colors: {
  custom: {
    50: '#8866cb',
    500: '#4728b3',
    950: '#000000',
  },
}
SCSS
$custom: #4728b3;
$custom-light: #8866cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4728b3",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 253.381,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.20219,
    "h": 283.5
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#4728B3
secondary
#B4C86F
accent
#E641C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4728B3

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

Preview Lab → · Contrast checker → · Palette generator →

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