#4726AE#4726AE

#4726AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.198 H 284.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4726AE
RGBrgb(71, 38, 174)
HSLhsl(255, 64%, 42%)
HSVhsv(255, 78%, 68%)
CMYKcmyk(59.2%, 78.2%, 0%, 31.8%)
CIE-LABlab(28.85, 49.81, -66.59)
CIE-LCHlch(28.85, 83.16, 306.79°)
OKLaboklab(40.9% 0.0499 -0.1919)
OKLCHoklch(40.9% 0.198 284.6)
XYZxyz(10.9293, 5.7811, 40.5761)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726AE #8DAE26
analogous
#2649AE #4726AE #8B26AE
triadic
#4726AE #AE4726 #26AE47
tetradic
#4726AE #AE2649 #8DAE26 #26AE8B
square
#4726AE #AE2649 #8DAE26 #26AE8B
split-complementary
#4726AE #AE8B26 #49AE26
monochromatic
#1E104A #331B7C #4726AE #623DD5 #8A6FE0

Accessibility & contrast

On white

9.74
#4726AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4726AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4726AE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4726AE#FFFFFF#000000##FFFFFF
##4726AE1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#064E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4726ae;
/* rgb */ color: rgb(71, 38, 174);
/* oklch */ color: oklch(40.9% 0.198 284.6);
Tailwind
colors: {
  custom: {
    50: '#8765c7',
    500: '#4726ae',
    950: '#000000',
  },
}
SCSS
$custom: #4726ae;
$custom-light: #8765c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4726ae",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 254.559,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.19827,
    "h": 284.6
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#4726AE
secondary
#B0C66A
accent
#E741BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4726AE

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

Preview Lab → · Contrast checker → · Palette generator →

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