#4F29AD#4F29AD

#4F29AD is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.194 H 288.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4F29AD
RGBrgb(79, 41, 173)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 76%, 68%)
CMYKcmyk(54.3%, 76.3%, 0%, 32.2%)
CIE-LABlab(30.07, 49.13, -63.96)
CIE-LCHlch(30.07, 80.65, 307.53°)
OKLaboklab(41.92% 0.0602 -0.184)
OKLCHoklch(41.92% 0.194 288.1)
XYZxyz(11.5580, 6.2647, 40.1273)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AD #87AD29
analogous
#2945AD #4F29AD #9129AD
triadic
#4F29AD #AD4F29 #29AD4F
tetradic
#4F29AD #AD2945 #87AD29 #29AD91
square
#4F29AD #AD2945 #87AD29 #29AD91
split-complementary
#4F29AD #AD9129 #45AD29
monochromatic
#22124A #381D7C #4F29AD #6B41D2 #9173DE

Accessibility & contrast

On white

9.32
#4F29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4F29AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AD#FFFFFF#000000##FFFFFF
##4F29AD1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#294E6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f29ad;
/* rgb */ color: rgb(79, 41, 173);
/* oklch */ color: oklch(41.9% 0.194 288.1);
Tailwind
colors: {
  custom: {
    50: '#8b67c7',
    500: '#4f29ad',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ad;
$custom-light: #8b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ad",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 257.273,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.19357,
    "h": 288.1
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#4F29AD
secondary
#ACC56D
accent
#E543B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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