#4724A2#4724A2

#4724A2 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.186 H 287.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4724A2
RGBrgb(71, 36, 162)
HSLhsl(257, 64%, 39%)
HSVhsv(257, 78%, 64%)
CMYKcmyk(56.2%, 77.8%, 0%, 36.5%)
CIE-LABlab(27.32, 47.31, -61.87)
CIE-LCHlch(27.32, 77.89, 307.40°)
OKLaboklab(39.48% 0.0548 -0.1781)
OKLCHoklch(39.48% 0.186 287.1)
XYZxyz(9.7491, 5.2095, 34.6672)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724A2 #7FA224
analogous
#2440A2 #4724A2 #8624A2
triadic
#4724A2 #A24724 #24A247
tetradic
#4724A2 #A22440 #7FA224 #24A286
square
#4724A2 #A22440 #7FA224 #24A286
split-complementary
#4724A2 #A28624 #40A224
monochromatic
#1B0E3E #311970 #4724A2 #5E32D1 #8564DD

Accessibility & contrast

On white

10.28
#4724A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4724A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724A2
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724A2#FFFFFF#000000##FFFFFF
##4724A21.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#1E4862
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4724a2;
/* rgb */ color: rgb(71, 36, 162);
/* oklch */ color: oklch(39.5% 0.186 287.1);
Tailwind
colors: {
  custom: {
    50: '#8563bf',
    500: '#4724a2',
    950: '#000000',
  },
}
SCSS
$custom: #4724a2;
$custom-light: #8563bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4724a2",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 256.667,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39475,
    "c": 0.18632,
    "h": 287.1
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#4724A2
secondary
#A7C260
accent
#E741B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4724A2

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

Preview Lab → · Contrast checker → · Palette generator →

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