#4725AA#4725AA

#4725AA is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.195 H 285.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4725AA
RGBrgb(71, 37, 170)
HSLhsl(255, 64%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(58.2%, 78.2%, 0%, 33.3%)
CIE-LABlab(28.29, 49.13, -65.12)
CIE-LCHlch(28.29, 81.58, 307.03°)
OKLaboklab(40.39% 0.0517 -0.1876)
OKLCHoklch(40.39% 0.195 285.4)
XYZxyz(10.5136, 5.5644, 38.5424)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725AA #88AA25
analogous
#2546AA #4725AA #8925AA
triadic
#4725AA #AA4725 #25AA47
tetradic
#4725AA #AA2546 #88AA25 #25AA89
square
#4725AA #AA2546 #88AA25 #25AA89
split-complementary
#4725AA #AA8925 #46AA25
monochromatic
#1D0F45 #321A78 #4725AA #6038D4 #886BDF

Accessibility & contrast

On white

9.94
#4725AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4725AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4725AA#FFFFFF#000000##FFFFFF
##4725AA1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#124C67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4725aa;
/* rgb */ color: rgb(71, 37, 170);
/* oklch */ color: oklch(40.4% 0.195 285.4);
Tailwind
colors: {
  custom: {
    50: '#8664c4',
    500: '#4725aa',
    950: '#000000',
  },
}
SCSS
$custom: #4725aa;
$custom-light: #8664c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4725aa",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 255.338,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.1946,
    "h": 285.4
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#4725AA
secondary
#ADC566
accent
#E741BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4725AA

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

Preview Lab → · Contrast checker → · Palette generator →

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