#4725AC#4725AC

#4725AC is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.197 H 285.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4725AC
RGBrgb(71, 37, 172)
HSLhsl(255, 65%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(58.7%, 78.5%, 0%, 32.5%)
CIE-LABlab(28.49, 49.70, -65.99)
CIE-LCHlch(28.49, 82.62, 306.99°)
OKLaboklab(40.59% 0.0512 -0.1901)
OKLCHoklch(40.59% 0.197 285.1)
XYZxyz(10.7042, 5.6406, 39.5464)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725AC #8AAC25
analogous
#2546AC #4725AC #8A25AC
triadic
#4725AC #AC4725 #25AC47
tetradic
#4725AC #AC2546 #8AAC25 #25AC8A
square
#4725AC #AC2546 #8AAC25 #25AC8A
split-complementary
#4725AC #AC8A25 #46AC25
monochromatic
#1D0F47 #321A7A #4725AC #613AD5 #896CDF

Accessibility & contrast

On white

9.87
#4725AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4725AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725AC
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725AC#FFFFFF#000000##FFFFFF
##4725AC1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#0D4C68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4725ac;
/* rgb */ color: rgb(71, 37, 172);
/* oklch */ color: oklch(40.6% 0.197 285.1);
Tailwind
colors: {
  custom: {
    50: '#8664c6',
    500: '#4725ac',
    950: '#000000',
  },
}
SCSS
$custom: #4725ac;
$custom-light: #8664c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4725ac",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 255.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.1969,
    "h": 285.1
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#4725AC
secondary
#AEC667
accent
#E840BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4725AC

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

Preview Lab → · Contrast checker → · Palette generator →

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