#4725A9#4725A9

#4725A9 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.193 H 285.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4725A9
RGBrgb(71, 37, 169)
HSLhsl(255, 64%, 40%)
HSVhsv(255, 78%, 66%)
CMYKcmyk(58%, 78.1%, 0%, 33.7%)
CIE-LABlab(28.19, 48.84, -64.69)
CIE-LCHlch(28.19, 81.06, 307.06°)
OKLaboklab(40.29% 0.052 -0.1863)
OKLCHoklch(40.29% 0.193 285.6)
XYZxyz(10.4194, 5.5267, 38.0461)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725A9 #87A925
analogous
#2545A9 #4725A9 #8925A9
triadic
#4725A9 #A94725 #25A947
tetradic
#4725A9 #A92545 #87A925 #25A989
square
#4725A9 #A92545 #87A925 #25A989
split-complementary
#4725A9 #A98925 #45A925
monochromatic
#1D0F45 #321A77 #4725A9 #6038D3 #886ADE

Accessibility & contrast

On white

9.97
#4725A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4725A9#FFFFFF#000000##FFFFFF
##4725A91.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#144B66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4725a9;
/* rgb */ color: rgb(71, 37, 169);
/* oklch */ color: oklch(40.3% 0.193 285.6);
Tailwind
colors: {
  custom: {
    50: '#8664c4',
    500: '#4725a9',
    950: '#000000',
  },
}
SCSS
$custom: #4725a9;
$custom-light: #8664c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4725a9",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 255.455,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.19345,
    "h": 285.6
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#4725A9
secondary
#ACC465
accent
#E741BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4725A9

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

Preview Lab → · Contrast checker → · Palette generator →

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