#4F29AA#4F29AA

#4F29AA is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.190 H 288.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4F29AA
RGBrgb(79, 41, 170)
HSLhsl(258, 61%, 41%)
HSVhsv(258, 76%, 67%)
CMYKcmyk(53.5%, 75.9%, 0%, 33.3%)
CIE-LABlab(29.79, 48.29, -62.62)
CIE-LCHlch(29.79, 79.08, 307.63°)
OKLaboklab(41.64% 0.061 -0.1801)
OKLCHoklch(41.64% 0.19 288.7)
XYZxyz(11.2710, 6.1499, 38.6156)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AA #84AA29
analogous
#2944AA #4F29AA #9029AA
triadic
#4F29AA #AA4F29 #29AA4F
tetradic
#4F29AA #AA2944 #84AA29 #29AA90
square
#4F29AA #AA2944 #84AA29 #29AA90
split-complementary
#4F29AA #AA9029 #44AA29
monochromatic
#211147 #381D79 #4F29AA #6A3FD1 #9171DD

Accessibility & contrast

On white

9.42
#4F29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4F29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AA#FFFFFF#000000##FFFFFF
##4F29AA1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f29aa;
/* rgb */ color: rgb(79, 41, 170);
/* oklch */ color: oklch(41.6% 0.190 288.7);
Tailwind
colors: {
  custom: {
    50: '#8a67c4',
    500: '#4f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f29aa;
$custom-light: #8a67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29aa",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 257.674,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.19012,
    "h": 288.7
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#4F29AA
secondary
#AAC46B
accent
#E444B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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