#4724B5#4724B5

#4724B5 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.208 H 283.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4724B5
RGBrgb(71, 36, 181)
HSLhsl(254, 67%, 43%)
HSVhsv(254, 80%, 71%)
CMYKcmyk(60.8%, 80.1%, 0%, 29%)
CIE-LABlab(29.25, 52.73, -70.11)
CIE-LCHlch(29.25, 87.73, 306.94°)
OKLaboklab(41.4% 0.049 -0.2021)
OKLCHoklch(41.4% 0.208 283.6)
XYZxyz(11.5673, 5.9368, 44.2435)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724B5 #92B524
analogous
#2449B5 #4724B5 #9024B5
triadic
#4724B5 #B54724 #24B547
tetradic
#4724B5 #B52449 #92B524 #24B590
square
#4724B5 #B52449 #92B524 #24B590
split-complementary
#4724B5 #B59024 #49B524
monochromatic
#1F104F #331A82 #4724B5 #633ED9 #8C71E3

Accessibility & contrast

On white

9.60
#4724B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4724B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724B5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724B5#FFFFFF#000000##FFFFFF
##4724B51.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4724b5;
/* rgb */ color: rgb(71, 36, 181);
/* oklch */ color: oklch(41.4% 0.208 283.6);
Tailwind
colors: {
  custom: {
    50: '#8864cc',
    500: '#4724b5',
    950: '#000000',
  },
}
SCSS
$custom: #4724b5;
$custom-light: #8864cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4724b5",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 254.483,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.20801,
    "h": 283.6
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#4724B5
secondary
#B3C96B
accent
#EA3EC0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4724B5

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

Preview Lab → · Contrast checker → · Palette generator →

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