#4725A4#4725A4

#4725A4 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.188 H 286.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4725A4
RGBrgb(71, 37, 164)
HSLhsl(256, 63%, 39%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(56.7%, 77.4%, 0%, 35.7%)
CIE-LABlab(27.69, 47.40, -62.48)
CIE-LCHlch(27.69, 78.43, 307.19°)
OKLaboklab(39.79% 0.0535 -0.1799)
OKLCHoklch(39.79% 0.188 286.6)
XYZxyz(9.9589, 5.3425, 35.6212)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725A4 #82A425
analogous
#2543A4 #4725A4 #8725A4
triadic
#4725A4 #A44725 #25A447
tetradic
#4725A4 #A42543 #82A425 #25A487
square
#4725A4 #A42543 #82A425 #25A487
split-complementary
#4725A4 #A48725 #43A425
monochromatic
#1C0E40 #311A72 #4725A4 #5F35D1 #8667DD

Accessibility & contrast

On white

10.15
#4725A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4725A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725A4
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725A4#FFFFFF#000000##FFFFFF
##4725A41.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#1C4963
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4725a4;
/* rgb */ color: rgb(71, 37, 164);
/* oklch */ color: oklch(39.8% 0.188 286.6);
Tailwind
colors: {
  custom: {
    50: '#8564c0',
    500: '#4725a4',
    950: '#000000',
  },
}
SCSS
$custom: #4725a4;
$custom-light: #8564c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4725a4",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 256.063,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.18766,
    "h": 286.6
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#4725A4
secondary
#A9C262
accent
#E642BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4725A4

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

Preview Lab → · Contrast checker → · Palette generator →

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