#4729CA#4729CA

#4729CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.227 H 280.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4729CA
RGBrgb(71, 41, 202)
HSLhsl(251, 66%, 48%)
HSVhsv(251, 80%, 79%)
CMYKcmyk(64.9%, 79.7%, 0%, 20.8%)
CIE-LABlab(32.23, 56.47, -77.57)
CIE-LCHlch(32.23, 95.94, 306.05°)
OKLaboklab(44.12% 0.04 -0.2239)
OKLCHoklch(44.12% 0.227 280.1)
XYZxyz(14.0488, 7.1886, 56.5129)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729CA #ACCA29
analogous
#295CCA #4729CA #9729CA
triadic
#4729CA #CA4729 #29CA47
tetradic
#4729CA #CA295C #ACCA29 #29CA97
square
#4729CA #CA295C #ACCA29 #29CA97
split-complementary
#4729CA #CA9729 #5CCA29
monochromatic
#231464 #351F97 #4729CA #6D54DC #9987E7

Accessibility & contrast

On white

8.61
#4729CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4729CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729CA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729CA#FFFFFF#000000##FFFFFF
##4729CA1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4729ca;
/* rgb */ color: rgb(71, 41, 202);
/* oklch */ color: oklch(44.1% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c68dc',
    500: '#4729ca',
    950: '#000000',
  },
}
SCSS
$custom: #4729ca;
$custom-light: #8c68dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4729ca",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 251.18,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.22747,
    "h": 280.1
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#4729CA
secondary
#C1D07F
accent
#E93FC9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4729CA

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

Preview Lab → · Contrast checker → · Palette generator →

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