#4726AD#4726AD

#4726AD is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.197 H 284.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4726AD
RGBrgb(71, 38, 173)
HSLhsl(255, 64%, 41%)
HSVhsv(255, 78%, 68%)
CMYKcmyk(59%, 78%, 0%, 32.2%)
CIE-LABlab(28.75, 49.52, -66.16)
CIE-LCHlch(28.75, 82.64, 306.81°)
OKLaboklab(40.8% 0.0502 -0.1906)
OKLCHoklch(40.8% 0.197 284.8)
XYZxyz(10.8322, 5.7423, 40.0646)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726AD #8CAD26
analogous
#2649AD #4726AD #8B26AD
triadic
#4726AD #AD4726 #26AD47
tetradic
#4726AD #AD2649 #8CAD26 #26AD8B
square
#4726AD #AD2649 #8CAD26 #26AD8B
split-complementary
#4726AD #AD8B26 #49AD26
monochromatic
#1E1049 #321B7B #4726AD #613CD4 #8A6EDF

Accessibility & contrast

On white

9.77
#4726AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4726AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726AD#FFFFFF#000000##FFFFFF
##4726AD1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#0A4D69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4726ad;
/* rgb */ color: rgb(71, 38, 173);
/* oklch */ color: oklch(40.8% 0.197 284.8);
Tailwind
colors: {
  custom: {
    50: '#8765c7',
    500: '#4726ad',
    950: '#000000',
  },
}
SCSS
$custom: #4726ad;
$custom-light: #8765c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4726ad",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 254.667,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.19712,
    "h": 284.8
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#4726AD
secondary
#AFC669
accent
#E741BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4726AD

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

Preview Lab → · Contrast checker → · Palette generator →

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