#4724B4#4724B4

#4724B4 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.207 H 283.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4724B4
RGBrgb(71, 36, 180)
HSLhsl(255, 67%, 42%)
HSVhsv(255, 80%, 71%)
CMYKcmyk(60.6%, 80%, 0%, 29.4%)
CIE-LABlab(29.15, 52.44, -69.69)
CIE-LCHlch(29.15, 87.22, 306.96°)
OKLaboklab(41.29% 0.0493 -0.2009)
OKLCHoklch(41.29% 0.207 283.8)
XYZxyz(11.4651, 5.8959, 43.7050)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724B4 #91B424
analogous
#2449B4 #4724B4 #8F24B4
triadic
#4724B4 #B44724 #24B447
tetradic
#4724B4 #B42449 #91B424 #24B48F
square
#4724B4 #B42449 #91B424 #24B48F
split-complementary
#4724B4 #B48F24 #49B424
monochromatic
#1F104E #331A81 #4724B4 #633DD8 #8C70E2

Accessibility & contrast

On white

9.64
#4724B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4724B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724B4
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724B4#FFFFFF#000000##FFFFFF
##4724B41.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4724b4;
/* rgb */ color: rgb(71, 36, 180);
/* oklch */ color: oklch(41.3% 0.207 283.8);
Tailwind
colors: {
  custom: {
    50: '#8864cc',
    500: '#4724b4',
    950: '#000000',
  },
}
SCSS
$custom: #4724b4;
$custom-light: #8864cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4724b4",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 254.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.20688,
    "h": 283.8
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4724B4

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

Preview Lab → · Contrast checker → · Palette generator →

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