#4F29A9#4F29A9

#4F29A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.189 H 288.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4F29A9
RGBrgb(79, 41, 169)
HSLhsl(258, 61%, 41%)
HSVhsv(258, 76%, 66%)
CMYKcmyk(53.3%, 75.7%, 0%, 33.7%)
CIE-LABlab(29.69, 48.00, -62.18)
CIE-LCHlch(29.69, 78.55, 307.67°)
OKLaboklab(41.54% 0.0613 -0.1787)
OKLCHoklch(41.54% 0.189 288.9)
XYZxyz(11.1767, 6.1122, 38.1193)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29A9 #83A929
analogous
#2943A9 #4F29A9 #8F29A9
triadic
#4F29A9 #A94F29 #29A94F
tetradic
#4F29A9 #A92943 #83A929 #29A98F
square
#4F29A9 #A92943 #83A929 #29A98F
split-complementary
#4F29A9 #A98F29 #43A929
monochromatic
#211146 #381D78 #4F29A9 #6A3FD0 #9070DC

Accessibility & contrast

On white

9.45
#4F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29A9
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29A9#FFFFFF#000000##FFFFFF
##4F29A91.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#2C4C67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f29a9;
/* rgb */ color: rgb(79, 41, 169);
/* oklch */ color: oklch(41.5% 0.189 288.9);
Tailwind
colors: {
  custom: {
    50: '#8a67c4',
    500: '#4f29a9',
    950: '#000000',
  },
}
SCSS
$custom: #4f29a9;
$custom-light: #8a67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29a9",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 257.813,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.18896,
    "h": 288.9
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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