#4F29B4#4F29B4

#4F29B4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.202 H 286.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4F29B4
RGBrgb(79, 41, 180)
HSLhsl(256, 63%, 43%)
HSVhsv(256, 77%, 71%)
CMYKcmyk(56.1%, 77.2%, 0%, 29.4%)
CIE-LABlab(30.74, 51.11, -67.04)
CIE-LCHlch(30.74, 84.30, 307.32°)
OKLaboklab(42.59% 0.0583 -0.193)
OKLCHoklch(42.59% 0.202 286.8)
XYZxyz(12.2531, 6.5428, 43.7884)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29B4 #8EB429
analogous
#2948B4 #4F29B4 #9429B4
triadic
#4F29B4 #B44F29 #29B44F
tetradic
#4F29B4 #B42948 #8EB429 #29B494
square
#4F29B4 #B42948 #8EB429 #29B494
split-complementary
#4F29B4 #B49429 #48B429
monochromatic
#231250 #391E82 #4F29B4 #6D45D5 #9477E0

Accessibility & contrast

On white

9.10
#4F29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4F29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29B4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29B4#FFFFFF#000000##FFFFFF
##4F29B41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#21516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f29b4;
/* rgb */ color: rgb(79, 41, 180);
/* oklch */ color: oklch(42.6% 0.202 286.8);
Tailwind
colors: {
  custom: {
    50: '#8c68cc',
    500: '#4f29b4',
    950: '#000000',
  },
}
SCSS
$custom: #4f29b4;
$custom-light: #8c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29b4",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 256.403,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.20157,
    "h": 286.8
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#4F29B4
secondary
#B0C871
accent
#E642B9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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