#4726B1#4726B1

#4726B1 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.202 H 284.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4726B1
RGBrgb(71, 38, 177)
HSLhsl(254, 65%, 42%)
HSVhsv(254, 79%, 69%)
CMYKcmyk(59.9%, 78.5%, 0%, 30.6%)
CIE-LABlab(29.16, 50.67, -67.89)
CIE-LCHlch(29.16, 84.71, 306.74°)
OKLaboklab(41.21% 0.049 -0.1957)
OKLCHoklch(41.21% 0.202 284.1)
XYZxyz(11.2250, 5.8994, 42.1336)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726B1 #90B126
analogous
#264AB1 #4726B1 #8D26B1
triadic
#4726B1 #B14726 #26B147
tetradic
#4726B1 #B1264A #90B126 #26B18D
square
#4726B1 #B1264A #90B126 #26B18D
split-complementary
#4726B1 #B18D26 #4AB126
monochromatic
#1F104C #331B7F #4726B1 #623FD6 #8B71E0

Accessibility & contrast

On white

9.63
#4726B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4726B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726B1#FFFFFF#000000##FFFFFF
##4726B11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4726b1;
/* rgb */ color: rgb(71, 38, 177);
/* oklch */ color: oklch(41.2% 0.202 284.1);
Tailwind
colors: {
  custom: {
    50: '#8765ca',
    500: '#4726b1',
    950: '#000000',
  },
}
SCSS
$custom: #4726b1;
$custom-light: #8765ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4726b1",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 254.245,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.20172,
    "h": 284.1
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#4726B1
secondary
#B2C76B
accent
#E840C0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4726B1

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

Preview Lab → · Contrast checker → · Palette generator →

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