#4726AA#4726AA

#4726AA is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.194 H 285.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4726AA
RGBrgb(71, 38, 170)
HSLhsl(255, 63%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(58.2%, 77.6%, 0%, 33.3%)
CIE-LABlab(28.45, 48.65, -64.85)
CIE-LCHlch(28.45, 81.07, 306.88°)
OKLaboklab(40.5% 0.0511 -0.1868)
OKLCHoklch(40.5% 0.194 285.3)
XYZxyz(10.5451, 5.6275, 38.5530)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726AA #89AA26
analogous
#2647AA #4726AA #8926AA
triadic
#4726AA #AA4726 #26AA47
tetradic
#4726AA #AA2647 #89AA26 #26AA89
square
#4726AA #AA2647 #89AA26 #26AA89
split-complementary
#4726AA #AA8926 #47AA26
monochromatic
#1D1046 #321B78 #4726AA #603AD3 #896CDE

Accessibility & contrast

On white

9.88
#4726AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4726AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726AA#FFFFFF#000000##FFFFFF
##4726AA1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4726aa;
/* rgb */ color: rgb(71, 38, 170);
/* oklch */ color: oklch(40.5% 0.194 285.3);
Tailwind
colors: {
  custom: {
    50: '#8665c4',
    500: '#4726aa',
    950: '#000000',
  },
}
SCSS
$custom: #4726aa;
$custom-light: #8665c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4726aa",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 255,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.19366,
    "h": 285.3
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#4726AA
secondary
#ADC567
accent
#E641BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4726AA

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

Preview Lab → · Contrast checker → · Palette generator →

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