#4724B2#4724B2

#4724B2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.205 H 284.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4724B2
RGBrgb(71, 36, 178)
HSLhsl(255, 66%, 42%)
HSVhsv(255, 80%, 70%)
CMYKcmyk(60.1%, 79.8%, 0%, 30.2%)
CIE-LABlab(28.94, 51.88, -68.84)
CIE-LCHlch(28.94, 86.20, 307.00°)
OKLaboklab(41.09% 0.05 -0.1984)
OKLCHoklch(41.09% 0.205 284.1)
XYZxyz(11.2628, 5.8150, 42.6398)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724B2 #8FB224
analogous
#2448B2 #4724B2 #8E24B2
triadic
#4724B2 #B24724 #24B247
tetradic
#4724B2 #B22448 #8FB224 #24B28E
square
#4724B2 #B22448 #8FB224 #24B28E
split-complementary
#4724B2 #B28E24 #48B224
monochromatic
#1E0F4C #331A7F #4724B2 #623CD8 #8B6FE2

Accessibility & contrast

On white

9.71
#4724B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4724B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724B2
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724B2#FFFFFF#000000##FFFFFF
##4724B21.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4724b2;
/* rgb */ color: rgb(71, 36, 178);
/* oklch */ color: oklch(41.1% 0.205 284.1);
Tailwind
colors: {
  custom: {
    50: '#8864ca',
    500: '#4724b2',
    950: '#000000',
  },
}
SCSS
$custom: #4724b2;
$custom-light: #8864ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4724b2",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 254.789,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.20462,
    "h": 284.1
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#4724B2
secondary
#B1C869
accent
#E93FBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4724B2

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

Preview Lab → · Contrast checker → · Palette generator →

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