#4F29BD#4F29BD

#4F29BD is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.212 H 285.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4F29BD
RGBrgb(79, 41, 189)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(58.2%, 78.3%, 0%, 25.9%)
CIE-LABlab(31.63, 53.64, -70.91)
CIE-LCHlch(31.63, 88.91, 307.10°)
OKLaboklab(43.48% 0.0556 -0.2043)
OKLCHoklch(43.48% 0.212 285.2)
XYZxyz(13.1999, 6.9215, 48.7747)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29BD #97BD29
analogous
#294DBD #4F29BD #9929BD
triadic
#4F29BD #BD4F29 #29BD4F
tetradic
#4F29BD #BD294D #97BD29 #29BD99
square
#4F29BD #BD294D #97BD29 #29BD99
split-complementary
#4F29BD #BD9929 #4DBD29
monochromatic
#251358 #3A1E8B #4F29BD #6F4BD8 #987DE3

Accessibility & contrast

On white

8.81
#4F29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29BD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29BD#FFFFFF#000000##FFFFFF
##4F29BD1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#115473
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f29bd;
/* rgb */ color: rgb(79, 41, 189);
/* oklch */ color: oklch(43.5% 0.212 285.2);
Tailwind
colors: {
  custom: {
    50: '#8d68d2',
    500: '#4f29bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f29bd;
$custom-light: #8d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29bd",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 255.405,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.21174,
    "h": 285.2
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#4F29BD
secondary
#B6CB77
accent
#E740BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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