#4F29AF#4F29AF

#4F29AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.196 H 287.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4F29AF
RGBrgb(79, 41, 175)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 77%, 69%)
CMYKcmyk(54.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(30.26, 49.70, -64.84)
CIE-LCHlch(30.26, 81.70, 307.47°)
OKLaboklab(42.11% 0.0597 -0.1866)
OKLCHoklch(42.11% 0.196 287.7)
XYZxyz(11.7530, 6.3427, 41.1541)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AF #89AF29
analogous
#2946AF #4F29AF #9229AF
triadic
#4F29AF #AF4F29 #29AF4F
tetradic
#4F29AF #AF2946 #89AF29 #29AF92
square
#4F29AF #AF2946 #89AF29 #29AF92
split-complementary
#4F29AF #AF9229 #46AF29
monochromatic
#22124C #391D7D #4F29AF #6B42D3 #9274DE

Accessibility & contrast

On white

9.26
#4F29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AF#FFFFFF#000000##FFFFFF
##4F29AF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#264F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f29af;
/* rgb */ color: rgb(79, 41, 175);
/* oklch */ color: oklch(42.1% 0.196 287.7);
Tailwind
colors: {
  custom: {
    50: '#8b67c8',
    500: '#4f29af',
    950: '#000000',
  },
}
SCSS
$custom: #4f29af;
$custom-light: #8b67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29af",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 257.015,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.19586,
    "h": 287.7
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#4F29AF
secondary
#ADC66E
accent
#E543B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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