#4724BA#4724BA

#4724BA is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.9% C 0.214 H 282.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4724BA
RGBrgb(71, 36, 186)
HSLhsl(254, 68%, 44%)
HSVhsv(254, 81%, 73%)
CMYKcmyk(61.8%, 80.6%, 0%, 27.1%)
CIE-LABlab(29.78, 54.14, -72.22)
CIE-LCHlch(29.78, 90.26, 306.86°)
OKLaboklab(41.92% 0.0474 -0.2083)
OKLCHoklch(41.92% 0.214 282.8)
XYZxyz(12.0896, 6.1457, 46.9940)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724BA #97BA24
analogous
#244CBA #4724BA #9224BA
triadic
#4724BA #BA4724 #24BA47
tetradic
#4724BA #BA244C #97BA24 #24BA92
square
#4724BA #BA244C #97BA24 #24BA92
split-complementary
#4724BA #BA9224 #4CBA24
monochromatic
#201053 #331A87 #4724BA #6541DA #8E74E4

Accessibility & contrast

On white

9.42
#4724BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4724BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724BA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724BA#FFFFFF#000000##FFFFFF
##4724BA1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4724ba;
/* rgb */ color: rgb(71, 36, 186);
/* oklch */ color: oklch(41.9% 0.214 282.8);
Tailwind
colors: {
  custom: {
    50: '#8965d0',
    500: '#4724ba',
    950: '#000000',
  },
}
SCSS
$custom: #4724ba;
$custom-light: #8965d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4724ba",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 254,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.21361,
    "h": 282.8
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#4724BA
secondary
#B6CB6E
accent
#EA3DC2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4724BA

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

Preview Lab → · Contrast checker → · Palette generator →

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