#4725A2#4725A2

#4725A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.185 H 287.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4725A2
RGBrgb(71, 37, 162)
HSLhsl(256, 63%, 39%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(56.2%, 77.2%, 0%, 36.5%)
CIE-LABlab(27.49, 46.83, -61.59)
CIE-LCHlch(27.49, 77.37, 307.24°)
OKLaboklab(39.59% 0.0541 -0.1773)
OKLCHoklch(39.59% 0.185 287)
XYZxyz(9.7797, 5.2708, 34.6775)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725A2 #80A225
analogous
#2542A2 #4725A2 #8625A2
triadic
#4725A2 #A24725 #25A247
tetradic
#4725A2 #A22542 #80A225 #25A286
square
#4725A2 #A22542 #80A225 #25A286
split-complementary
#4725A2 #A28625 #42A225
monochromatic
#1B0E3E #311A70 #4725A2 #5E34D1 #8665DC

Accessibility & contrast

On white

10.22
#4725A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4725A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725A2
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725A2#FFFFFF#000000##FFFFFF
##4725A21.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4725a2;
/* rgb */ color: rgb(71, 37, 162);
/* oklch */ color: oklch(39.6% 0.185 287.0);
Tailwind
colors: {
  custom: {
    50: '#8564bf',
    500: '#4725a2',
    950: '#000000',
  },
}
SCSS
$custom: #4725a2;
$custom-light: #8564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4725a2",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 256.32,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.18534,
    "h": 287
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#4725A2
secondary
#A7C261
accent
#E642B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4725A2

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

Preview Lab → · Contrast checker → · Palette generator →

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