#4726CA#4726CA

#4726CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.230 H 280.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4726CA
RGBrgb(71, 38, 202)
HSLhsl(252, 68%, 47%)
HSVhsv(252, 81%, 79%)
CMYKcmyk(64.9%, 81.2%, 0%, 20.8%)
CIE-LABlab(31.78, 57.78, -78.31)
CIE-LCHlch(31.78, 97.32, 306.42°)
OKLaboklab(43.8% 0.0414 -0.2261)
OKLCHoklch(43.8% 0.23 280.4)
XYZxyz(13.9489, 6.9890, 56.4796)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4726CA #A9CA26
analogous
#2657CA #4726CA #9926CA
triadic
#4726CA #CA4726 #26CA47
tetradic
#4726CA #CA2657 #A9CA26 #26CA99
square
#4726CA #CA2657 #A9CA26 #26CA99
split-complementary
#4726CA #CA9926 #57CA26
monochromatic
#231363 #351C96 #4726CA #6C4FDE #9783E8

Accessibility & contrast

On white

8.76
#4726CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4726CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4726CA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4726CA#FFFFFF#000000##FFFFFF
##4726CA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4726ca;
/* rgb */ color: rgb(71, 38, 202);
/* oklch */ color: oklch(43.8% 0.230 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c67dc',
    500: '#4726ca',
    950: '#000000',
  },
}
SCSS
$custom: #4726ca;
$custom-light: #8c67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4726ca",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 252.073,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.22982,
    "h": 280.4
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#4726CA
secondary
#BFD17B
accent
#EB3DC8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4726CA

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

Preview Lab → · Contrast checker → · Palette generator →

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