#4A29AF#4A29AF

#4A29AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.196 H 285.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4A29AF
RGBrgb(74, 41, 175)
HSLhsl(255, 62%, 42%)
HSVhsv(255, 77%, 69%)
CMYKcmyk(57.7%, 76.6%, 0%, 31.4%)
CIE-LABlab(29.75, 49.02, -65.70)
CIE-LCHlch(29.75, 81.97, 306.73°)
OKLaboklab(41.63% 0.0521 -0.1892)
OKLCHoklch(41.63% 0.196 285.4)
XYZxyz(11.3525, 6.1362, 41.1353)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29AF #8EAF29
analogous
#294BAF #4A29AF #8D29AF
triadic
#4A29AF #AF4A29 #29AF4A
tetradic
#4A29AF #AF294B #8EAF29 #29AF8D
square
#4A29AF #AF294B #8EAF29 #29AF8D
split-complementary
#4A29AF #AF8D29 #4BAF29
monochromatic
#20124C #351D7D #4A29AF #6642D3 #8E74DE

Accessibility & contrast

On white

9.43
#4A29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4A29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29AF
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29AF#FFFFFF#000000##FFFFFF
##4A29AF1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#154F6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a29af;
/* rgb */ color: rgb(74, 41, 175);
/* oklch */ color: oklch(41.6% 0.196 285.4);
Tailwind
colors: {
  custom: {
    50: '#8867c8',
    500: '#4a29af',
    950: '#000000',
  },
}
SCSS
$custom: #4a29af;
$custom-light: #8867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29af",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 254.776,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.19626,
    "h": 285.4
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#4A29AF
secondary
#B0C66E
accent
#E543BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A29AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4A29AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva