#4726A4#4726A4

#4726A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.187 H 286.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4726A4
RGBrgb(71, 38, 164)
HSLhsl(256, 62%, 40%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(56.7%, 76.8%, 0%, 35.7%)
CIE-LABlab(27.86, 46.91, -62.20)
CIE-LCHlch(27.86, 77.91, 307.02°)
OKLaboklab(39.91% 0.0528 -0.1791)
OKLCHoklch(39.91% 0.187 286.4)
XYZxyz(9.9905, 5.4056, 35.6317)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726A4 #83A426
analogous
#2644A4 #4726A4 #8626A4
triadic
#4726A4 #A44726 #26A447
tetradic
#4726A4 #A42644 #83A426 #26A486
square
#4726A4 #A42644 #83A426 #26A486
split-complementary
#4726A4 #A48626 #44A426
monochromatic
#1C0F41 #311A72 #4726A4 #5F37D1 #8768DC

Accessibility & contrast

On white

10.09
#4726A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4726A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4726A4
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4726A4#FFFFFF#000000##FFFFFF
##4726A41.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#1B4A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4726a4;
/* rgb */ color: rgb(71, 38, 164);
/* oklch */ color: oklch(39.9% 0.187 286.4);
Tailwind
colors: {
  custom: {
    50: '#8564c0',
    500: '#4726a4',
    950: '#000000',
  },
}
SCSS
$custom: #4726a4;
$custom-light: #8564c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4726a4",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 255.714,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.18667,
    "h": 286.4
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#4726A4
secondary
#A9C264
accent
#E542BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4726A4

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

Preview Lab → · Contrast checker → · Palette generator →

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