#4724AC#4724AC

#4724AC is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.198 H 285.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4724AC
RGBrgb(71, 36, 172)
HSLhsl(255, 65%, 41%)
HSVhsv(255, 79%, 67%)
CMYKcmyk(58.7%, 79.1%, 0%, 32.5%)
CIE-LABlab(28.32, 50.17, -66.26)
CIE-LCHlch(28.32, 83.11, 307.13°)
OKLaboklab(40.48% 0.0518 -0.1909)
OKLCHoklch(40.48% 0.198 285.2)
XYZxyz(10.6735, 5.5792, 39.5362)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724AC #89AC24
analogous
#2445AC #4724AC #8B24AC
triadic
#4724AC #AC4724 #24AC47
tetradic
#4724AC #AC2445 #89AC24 #24AC8B
square
#4724AC #AC2445 #89AC24 #24AC8B
split-complementary
#4724AC #AC8B24 #45AC24
monochromatic
#1D0F47 #321979 #4724AC #6038D5 #896AE0

Accessibility & contrast

On white

9.92
#4724AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4724AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724AC
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724AC#FFFFFF#000000##FFFFFF
##4724AC1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#0D4C68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4724ac;
/* rgb */ color: rgb(71, 36, 172);
/* oklch */ color: oklch(40.5% 0.198 285.2);
Tailwind
colors: {
  custom: {
    50: '#8764c6',
    500: '#4724ac',
    950: '#000000',
  },
}
SCSS
$custom: #4724ac;
$custom-light: #8764c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4724ac",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 255.441,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.19781,
    "h": 285.2
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#4724AC
secondary
#ADC666
accent
#E83FBD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4724AC

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

Preview Lab → · Contrast checker → · Palette generator →

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