#4726B6#4726B6

#4726B6 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.207 H 283.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4726B6
RGBrgb(71, 38, 182)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(61%, 79.1%, 0%, 28.6%)
CIE-LABlab(29.67, 52.10, -70.02)
CIE-LCHlch(29.67, 87.28, 306.65°)
OKLaboklab(41.72% 0.0475 -0.2019)
OKLCHoklch(41.72% 0.207 283.2)
XYZxyz(11.7325, 6.1024, 44.8065)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726B6 #95B626
analogous
#264DB6 #4726B6 #8F26B6
triadic
#4726B6 #B64726 #26B647
tetradic
#4726B6 #B6264D #95B626 #26B68F
square
#4726B6 #B6264D #95B626 #26B68F
split-complementary
#4726B6 #B68F26 #4DB626
monochromatic
#1F1151 #331B83 #4726B6 #6442D7 #8D74E2

Accessibility & contrast

On white

9.46
#4726B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4726B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4726B6
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4726B6#FFFFFF#000000##FFFFFF
##4726B61.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4726b6;
/* rgb */ color: rgb(71, 38, 182);
/* oklch */ color: oklch(41.7% 0.207 283.2);
Tailwind
colors: {
  custom: {
    50: '#8865cd',
    500: '#4726b6',
    950: '#000000',
  },
}
SCSS
$custom: #4726b6;
$custom-light: #8865cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4726b6",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 253.75,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.20742,
    "h": 283.2
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4726B6

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

Preview Lab → · Contrast checker → · Palette generator →

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