#4726A8#4726A8

#4726A8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.191 H 285.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4726A8
RGBrgb(71, 38, 168)
HSLhsl(255, 63%, 40%)
HSVhsv(255, 77%, 66%)
CMYKcmyk(57.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(28.25, 48.07, -63.97)
CIE-LCHlch(28.25, 80.02, 306.92°)
OKLaboklab(40.31% 0.0516 -0.1842)
OKLCHoklch(40.31% 0.191 285.7)
XYZxyz(10.3574, 5.5524, 37.5641)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726A8 #87A826
analogous
#2646A8 #4726A8 #8826A8
triadic
#4726A8 #A84726 #26A847
tetradic
#4726A8 #A82646 #87A826 #26A888
square
#4726A8 #A82646 #87A826 #26A888
split-complementary
#4726A8 #A88826 #46A826
monochromatic
#1D0F44 #321B76 #4726A8 #6039D2 #886BDE

Accessibility & contrast

On white

9.95
#4726A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4726A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726A8#FFFFFF#000000##FFFFFF
##4726A81.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#154B66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4726a8;
/* rgb */ color: rgb(71, 38, 168);
/* oklch */ color: oklch(40.3% 0.191 285.7);
Tailwind
colors: {
  custom: {
    50: '#8665c3',
    500: '#4726a8',
    950: '#000000',
  },
}
SCSS
$custom: #4726a8;
$custom-light: #8665c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4726a8",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 255.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.19134,
    "h": 285.7
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#4726A8
secondary
#ACC466
accent
#E642BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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