#4726B5#4726B5

#4726B5 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.206 H 283.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4726B5
RGBrgb(71, 38, 181)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(60.8%, 79%, 0%, 29%)
CIE-LABlab(29.57, 51.82, -69.60)
CIE-LCHlch(29.57, 86.77, 306.67°)
OKLaboklab(41.61% 0.0478 -0.2007)
OKLCHoklch(41.61% 0.206 283.4)
XYZxyz(11.6296, 6.0612, 44.2642)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726B5 #94B526
analogous
#264CB5 #4726B5 #8E26B5
triadic
#4726B5 #B54726 #26B547
tetradic
#4726B5 #B5264C #94B526 #26B58E
square
#4726B5 #B5264C #94B526 #26B58E
split-complementary
#4726B5 #B58E26 #4CB526
monochromatic
#1F1150 #331B82 #4726B5 #6441D7 #8D74E2

Accessibility & contrast

On white

9.49
#4726B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4726B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4726B5#FFFFFF#000000##FFFFFF
##4726B51.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4726b5;
/* rgb */ color: rgb(71, 38, 181);
/* oklch */ color: oklch(41.6% 0.206 283.4);
Tailwind
colors: {
  custom: {
    50: '#8865cc',
    500: '#4726b5',
    950: '#000000',
  },
}
SCSS
$custom: #4726b5;
$custom-light: #8865cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4726b5",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 253.846,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.20628,
    "h": 283.4
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#4726B5
secondary
#B4C96E
accent
#E840C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4726B5

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

Preview Lab → · Contrast checker → · Palette generator →

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