#4725AD#4725AD

#4725AD is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.198 H 284.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4725AD
RGBrgb(71, 37, 173)
HSLhsl(255, 65%, 41%)
HSVhsv(255, 79%, 68%)
CMYKcmyk(59%, 78.6%, 0%, 32.2%)
CIE-LABlab(28.59, 49.99, -66.43)
CIE-LCHlch(28.59, 83.14, 306.96°)
OKLaboklab(40.69% 0.0509 -0.1914)
OKLCHoklch(40.69% 0.198 284.9)
XYZxyz(10.8006, 5.6792, 40.0541)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725AD #8BAD25
analogous
#2547AD #4725AD #8B25AD
triadic
#4725AD #AD4725 #25AD47
tetradic
#4725AD #AD2547 #8BAD25 #25AD8B
square
#4725AD #AD2547 #8BAD25 #25AD8B
split-complementary
#4725AD #AD8B25 #47AD25
monochromatic
#1E0F48 #321A7B #4725AD #613AD5 #896DE0

Accessibility & contrast

On white

9.83
#4725AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4725AD#FFFFFF#000000##FFFFFF
##4725AD1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#0A4D69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4725ad;
/* rgb */ color: rgb(71, 37, 173);
/* oklch */ color: oklch(40.7% 0.198 284.9);
Tailwind
colors: {
  custom: {
    50: '#8764c7',
    500: '#4725ad',
    950: '#000000',
  },
}
SCSS
$custom: #4725ad;
$custom-light: #8764c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4725ad",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 255,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.19805,
    "h": 284.9
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#4725AD
secondary
#AEC668
accent
#E840BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4725AD

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

Preview Lab → · Contrast checker → · Palette generator →

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