#4F29A3#4F29A3

#4F29A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.182 H 290.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4F29A3
RGBrgb(79, 41, 163)
HSLhsl(259, 60%, 40%)
HSVhsv(259, 75%, 64%)
CMYKcmyk(51.5%, 74.8%, 0%, 36.1%)
CIE-LABlab(29.14, 46.31, -59.47)
CIE-LCHlch(29.14, 75.37, 307.91°)
OKLaboklab(40.98% 0.0628 -0.1708)
OKLCHoklch(40.98% 0.182 290.2)
XYZxyz(10.6263, 5.8920, 35.2206)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29A3 #7DA329
analogous
#2940A3 #4F29A3 #8C29A3
triadic
#4F29A3 #A34F29 #29A34F
tetradic
#4F29A3 #A32940 #7DA329 #29A38C
square
#4F29A3 #A32940 #7DA329 #29A38C
split-complementary
#4F29A3 #A38C29 #40A329
monochromatic
#201041 #371D72 #4F29A3 #693BCE #8F6CDA

Accessibility & contrast

On white

9.64
#4F29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4F29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29A3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29A3#FFFFFF#000000##FFFFFF
##4F29A31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#314A64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f29a3;
/* rgb */ color: rgb(79, 41, 163);
/* oklch */ color: oklch(41.0% 0.182 290.2);
Tailwind
colors: {
  custom: {
    50: '#8967bf',
    500: '#4f29a3',
    950: '#000000',
  },
}
SCSS
$custom: #4f29a3;
$custom-light: #8967bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29a3",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 258.689,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.182,
    "h": 290.2
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#4F29A3
secondary
#A5C167
accent
#E345B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #4F29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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