#4729AF#4729AF

#4729AF is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.197 H 284.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4729AF
RGBrgb(71, 41, 175)
HSLhsl(253, 62%, 42%)
HSVhsv(253, 77%, 69%)
CMYKcmyk(59.4%, 76.6%, 0%, 31.4%)
CIE-LABlab(29.46, 48.64, -66.19)
CIE-LCHlch(29.46, 82.13, 306.31°)
OKLaboklab(41.36% 0.0476 -0.1907)
OKLCHoklch(41.36% 0.197 284)
XYZxyz(11.1270, 6.0199, 41.1248)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4729AF #91AF29
analogous
#294EAF #4729AF #8A29AF
triadic
#4729AF #AF4729 #29AF47
tetradic
#4729AF #AF294E #91AF29 #29AF8A
square
#4729AF #AF294E #91AF29 #29AF8A
split-complementary
#4729AF #AF8A29 #4EAF29
monochromatic
#1F124C #331D7D #4729AF #6342D3 #8C74DE

Accessibility & contrast

On white

9.53
#4729AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4729AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4729AF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4729AF#FFFFFF#000000##FFFFFF
##4729AF1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#034F6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4729af;
/* rgb */ color: rgb(71, 41, 175);
/* oklch */ color: oklch(41.4% 0.197 284.0);
Tailwind
colors: {
  custom: {
    50: '#8767c8',
    500: '#4729af',
    950: '#000000',
  },
}
SCSS
$custom: #4729af;
$custom-light: #8767c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4729af",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 253.433,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.1966,
    "h": 284
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#4729AF
secondary
#B2C66E
accent
#E543C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4729AF

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

Preview Lab → · Contrast checker → · Palette generator →

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