#4725AE#4725AE

#4725AE is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.199 H 284.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4725AE
RGBrgb(71, 37, 174)
HSLhsl(255, 65%, 41%)
HSVhsv(255, 79%, 68%)
CMYKcmyk(59.2%, 78.7%, 0%, 31.8%)
CIE-LABlab(28.69, 50.28, -66.86)
CIE-LCHlch(28.69, 83.65, 306.94°)
OKLaboklab(40.79% 0.0506 -0.1927)
OKLCHoklch(40.79% 0.199 284.7)
XYZxyz(10.8977, 5.7180, 40.5656)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725AE #8CAE25
analogous
#2547AE #4725AE #8C25AE
triadic
#4725AE #AE4725 #25AE47
tetradic
#4725AE #AE2547 #8CAE25 #25AE8C
square
#4725AE #AE2547 #8CAE25 #25AE8C
split-complementary
#4725AE #AE8C25 #47AE25
monochromatic
#1E1049 #321A7C #4725AE #613BD5 #8A6DE0

Accessibility & contrast

On white

9.80
#4725AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4725AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725AE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725AE#FFFFFF#000000##FFFFFF
##4725AE1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#074D69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4725ae;
/* rgb */ color: rgb(71, 37, 174);
/* oklch */ color: oklch(40.8% 0.199 284.7);
Tailwind
colors: {
  custom: {
    50: '#8764c7',
    500: '#4725ae',
    950: '#000000',
  },
}
SCSS
$custom: #4725ae;
$custom-light: #8764c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4725ae",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 254.891,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.19919,
    "h": 284.7
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#4725AE
secondary
#AFC668
accent
#E840BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4725AE

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

Preview Lab → · Contrast checker → · Palette generator →

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