#4F29AB#4F29AB

#4F29AB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.191 H 288.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4F29AB
RGBrgb(79, 41, 171)
HSLhsl(258, 61%, 42%)
HSVhsv(258, 76%, 67%)
CMYKcmyk(53.8%, 76%, 0%, 32.9%)
CIE-LABlab(29.88, 48.57, -63.07)
CIE-LCHlch(29.88, 79.60, 307.60°)
OKLaboklab(41.73% 0.0607 -0.1814)
OKLCHoklch(41.73% 0.191 288.5)
XYZxyz(11.3659, 6.1879, 39.1157)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AB #85AB29
analogous
#2944AB #4F29AB #9029AB
triadic
#4F29AB #AB4F29 #29AB4F
tetradic
#4F29AB #AB2944 #85AB29 #29AB90
square
#4F29AB #AB2944 #85AB29 #29AB90
split-complementary
#4F29AB #AB9029 #44AB29
monochromatic
#211148 #381D7A #4F29AB #6A40D1 #9171DD

Accessibility & contrast

On white

9.39
#4F29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AB#FFFFFF#000000##FFFFFF
##4F29AB1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#2B4D68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f29ab;
/* rgb */ color: rgb(79, 41, 171);
/* oklch */ color: oklch(41.7% 0.191 288.5);
Tailwind
colors: {
  custom: {
    50: '#8a67c5',
    500: '#4f29ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ab;
$custom-light: #8a67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ab",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 257.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.19127,
    "h": 288.5
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#4F29AB
secondary
#AAC46C
accent
#E443B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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