#4F29BC#4F29BC

#4F29BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.211 H 285.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4F29BC
RGBrgb(79, 41, 188)
HSLhsl(256, 64%, 45%)
HSVhsv(256, 78%, 74%)
CMYKcmyk(58%, 78.2%, 0%, 26.3%)
CIE-LABlab(31.53, 53.36, -70.49)
CIE-LCHlch(31.53, 88.40, 307.13°)
OKLaboklab(43.38% 0.0559 -0.2031)
OKLCHoklch(43.38% 0.211 285.4)
XYZxyz(13.0917, 6.8782, 48.2050)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29BC #96BC29
analogous
#294DBC #4F29BC #9829BC
triadic
#4F29BC #BC4F29 #29BC4F
tetradic
#4F29BC #BC294D #96BC29 #29BC98
square
#4F29BC #BC294D #96BC29 #29BC98
split-complementary
#4F29BC #BC9829 #4DBC29
monochromatic
#251358 #3A1E8A #4F29BC #6F4BD8 #977DE3

Accessibility & contrast

On white

8.84
#4F29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F29BC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29BC#FFFFFF#000000##FFFFFF
##4F29BC1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#135472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f29bc;
/* rgb */ color: rgb(79, 41, 188);
/* oklch */ color: oklch(43.4% 0.211 285.4);
Tailwind
colors: {
  custom: {
    50: '#8d68d1',
    500: '#4f29bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f29bc;
$custom-light: #8d68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29bc",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 255.51,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.21062,
    "h": 285.4
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#4F29BC
secondary
#B5CB76
accent
#E741BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4F29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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