#4724CA#4724CA

#4724CA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.231 H 280.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4724CA
RGBrgb(71, 36, 202)
HSLhsl(253, 70%, 47%)
HSVhsv(253, 82%, 79%)
CMYKcmyk(64.9%, 82.2%, 0%, 20.8%)
CIE-LABlab(31.50, 58.62, -78.79)
CIE-LCHlch(31.50, 98.20, 306.65°)
OKLaboklab(43.61% 0.0423 -0.2274)
OKLCHoklch(43.61% 0.231 280.5)
XYZxyz(13.8867, 6.8645, 56.4589)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724CA #A7CA24
analogous
#2454CA #4724CA #9A24CA
triadic
#4724CA #CA4724 #24CA47
tetradic
#4724CA #CA2454 #A7CA24 #24CA9A
square
#4724CA #CA2454 #A7CA24 #24CA9A
split-complementary
#4724CA #CA9A24 #54CA24
monochromatic
#221162 #351B96 #4724CA #6B4CDF #9680E8

Accessibility & contrast

On white

8.85
#4724CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4724CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724CA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724CA#FFFFFF#000000##FFFFFF
##4724CA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4724ca;
/* rgb */ color: rgb(71, 36, 202);
/* oklch */ color: oklch(43.6% 0.231 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c66dc',
    500: '#4724ca',
    950: '#000000',
  },
}
SCSS
$custom: #4724ca;
$custom-light: #8c66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4724ca",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 252.651,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.2313,
    "h": 280.5
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#4724CA
secondary
#BED179
accent
#ED3BC7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4724CA

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

Preview Lab → · Contrast checker → · Palette generator →

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