#4724A5#4724A5

#4724A5 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.190 H 286.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4724A5
RGBrgb(71, 36, 165)
HSLhsl(256, 64%, 39%)
HSVhsv(256, 78%, 65%)
CMYKcmyk(57%, 78.2%, 0%, 35.3%)
CIE-LABlab(27.62, 48.17, -63.20)
CIE-LCHlch(27.62, 79.47, 307.31°)
OKLaboklab(39.77% 0.0539 -0.182)
OKLCHoklch(39.77% 0.19 286.5)
XYZxyz(10.0189, 5.3174, 36.0884)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724A5 #82A524
analogous
#2442A5 #4724A5 #8824A5
triadic
#4724A5 #A54724 #24A547
tetradic
#4724A5 #A52442 #82A524 #24A588
square
#4724A5 #A52442 #82A524 #24A588
split-complementary
#4724A5 #A58824 #42A524
monochromatic
#1C0E41 #311973 #4724A5 #5F34D3 #8666DE

Accessibility & contrast

On white

10.18
#4724A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4724A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724A5
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724A5#FFFFFF#000000##FFFFFF
##4724A51.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#1A4964
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4724a5;
/* rgb */ color: rgb(71, 36, 165);
/* oklch */ color: oklch(39.8% 0.190 286.5);
Tailwind
colors: {
  custom: {
    50: '#8563c1',
    500: '#4724a5',
    950: '#000000',
  },
}
SCSS
$custom: #4724a5;
$custom-light: #8563c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4724a5",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 256.279,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.18978,
    "h": 286.5
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#4724A5
secondary
#A9C362
accent
#E741BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4724A5

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

Preview Lab → · Contrast checker → · Palette generator →

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