#4F29A7#4F29A7

#4F29A7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.187 H 289.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4F29A7
RGBrgb(79, 41, 167)
HSLhsl(258, 61%, 41%)
HSVhsv(258, 75%, 65%)
CMYKcmyk(52.7%, 75.4%, 0%, 34.5%)
CIE-LABlab(29.51, 47.44, -61.28)
CIE-LCHlch(29.51, 77.49, 307.75°)
OKLaboklab(41.35% 0.0618 -0.1761)
OKLCHoklch(41.35% 0.187 289.3)
XYZxyz(10.9904, 6.0377, 37.1380)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29A7 #81A729
analogous
#2942A7 #4F29A7 #8E29A7
triadic
#4F29A7 #A74F29 #29A74F
tetradic
#4F29A7 #A72942 #81A729 #29A78E
square
#4F29A7 #A72942 #81A729 #29A78E
split-complementary
#4F29A7 #A78E29 #42A729
monochromatic
#211145 #381D76 #4F29A7 #6A3ED0 #906FDC

Accessibility & contrast

On white

9.51
#4F29A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F29A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29A7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29A7#FFFFFF#000000##FFFFFF
##4F29A71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#2E4C66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f29a7;
/* rgb */ color: rgb(79, 41, 167);
/* oklch */ color: oklch(41.4% 0.187 289.3);
Tailwind
colors: {
  custom: {
    50: '#8a67c2',
    500: '#4f29a7',
    950: '#000000',
  },
}
SCSS
$custom: #4f29a7;
$custom-light: #8a67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29a7",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 258.095,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.18665,
    "h": 289.3
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#4F29A7
secondary
#A8C269
accent
#E444B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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