#4726B9#4726B9

#4726B9 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.211 H 282.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4726B9
RGBrgb(71, 38, 185)
HSLhsl(253, 66%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(61.6%, 79.5%, 0%, 27.5%)
CIE-LABlab(29.98, 52.96, -71.29)
CIE-LCHlch(29.98, 88.81, 306.61°)
OKLaboklab(42.02% 0.0466 -0.2056)
OKLCHoklch(42.02% 0.211 282.8)
XYZxyz(12.0459, 6.2278, 46.4568)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726B9 #98B926
analogous
#264FB9 #4726B9 #9026B9
triadic
#4726B9 #B94726 #26B947
tetradic
#4726B9 #B9264F #98B926 #26B990
square
#4726B9 #B9264F #98B926 #26B990
split-complementary
#4726B9 #B99026 #4FB926
monochromatic
#201153 #341C86 #4726B9 #6544D9 #8F76E3

Accessibility & contrast

On white

9.35
#4726B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4726B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4726B9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4726B9#FFFFFF#000000##FFFFFF
##4726B91.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4726b9;
/* rgb */ color: rgb(71, 38, 185);
/* oklch */ color: oklch(42.0% 0.211 282.8);
Tailwind
colors: {
  custom: {
    50: '#8966cf',
    500: '#4726b9',
    950: '#000000',
  },
}
SCSS
$custom: #4726b9;
$custom-light: #8966cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4726b9",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 253.469,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.21082,
    "h": 282.8
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#4726B9
secondary
#B6CA70
accent
#E93FC3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4726B9

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

Preview Lab → · Contrast checker → · Palette generator →

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