#4726B3#4726B3

#4726B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.204 H 283.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4726B3
RGBrgb(71, 38, 179)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 70%)
CMYKcmyk(60.3%, 78.8%, 0%, 29.8%)
CIE-LABlab(29.36, 51.24, -68.74)
CIE-LCHlch(29.36, 85.74, 306.70°)
OKLaboklab(41.41% 0.0484 -0.1982)
OKLCHoklch(41.41% 0.204 283.7)
XYZxyz(11.4258, 5.9797, 43.1912)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726B3 #92B326
analogous
#264BB3 #4726B3 #8E26B3
triadic
#4726B3 #B34726 #26B347
tetradic
#4726B3 #B3264B #92B326 #26B38E
square
#4726B3 #B3264B #92B326 #26B38E
split-complementary
#4726B3 #B38E26 #4BB326
monochromatic
#1F114E #331B81 #4726B3 #6340D6 #8C72E1

Accessibility & contrast

On white

9.56
#4726B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4726B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726B3#FFFFFF#000000##FFFFFF
##4726B31.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4726b3;
/* rgb */ color: rgb(71, 38, 179);
/* oklch */ color: oklch(41.4% 0.204 283.7);
Tailwind
colors: {
  custom: {
    50: '#8865cb',
    500: '#4726b3',
    950: '#000000',
  },
}
SCSS
$custom: #4726b3;
$custom-light: #8865cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4726b3",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 254.043,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.204,
    "h": 283.7
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#4726B3
secondary
#B3C86D
accent
#E840C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4726B3

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

Preview Lab → · Contrast checker → · Palette generator →

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