#4725A3#4725A3

#4725A3 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.186 H 286.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4725A3
RGBrgb(71, 37, 163)
HSLhsl(256, 63%, 39%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(56.4%, 77.3%, 0%, 36.1%)
CIE-LABlab(27.59, 47.12, -62.04)
CIE-LCHlch(27.59, 77.90, 307.22°)
OKLaboklab(39.69% 0.0538 -0.1786)
OKLCHoklch(39.69% 0.187 286.8)
XYZxyz(9.8690, 5.3065, 35.1475)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725A3 #81A325
analogous
#2542A3 #4725A3 #8625A3
triadic
#4725A3 #A34725 #25A347
tetradic
#4725A3 #A32542 #81A325 #25A386
square
#4725A3 #A32542 #81A325 #25A386
split-complementary
#4725A3 #A38625 #42A325
monochromatic
#1C0E3F #311A71 #4725A3 #5F34D1 #8666DC

Accessibility & contrast

On white

10.19
#4725A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4725A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725A3
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725A3#FFFFFF#000000##FFFFFF
##4725A31.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#1D4963
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4725a3;
/* rgb */ color: rgb(71, 37, 163);
/* oklch */ color: oklch(39.7% 0.186 286.8);
Tailwind
colors: {
  custom: {
    50: '#8564bf',
    500: '#4725a3',
    950: '#000000',
  },
}
SCSS
$custom: #4725a3;
$custom-light: #8564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4725a3",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 256.19,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.1865,
    "h": 286.8
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#4725A3
secondary
#A8C262
accent
#E642BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4725A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4725A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva