#4F29BA#4F29BA

#4F29BA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.208 H 285.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4F29BA
RGBrgb(79, 41, 186)
HSLhsl(256, 64%, 45%)
HSVhsv(256, 78%, 73%)
CMYKcmyk(57.5%, 78%, 0%, 27.1%)
CIE-LABlab(31.33, 52.80, -69.63)
CIE-LCHlch(31.33, 87.38, 307.17°)
OKLaboklab(43.18% 0.0565 -0.2005)
OKLCHoklch(43.18% 0.208 285.7)
XYZxyz(12.8776, 6.7925, 47.0774)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29BA #94BA29
analogous
#294CBA #4F29BA #9829BA
triadic
#4F29BA #BA4F29 #29BA4F
tetradic
#4F29BA #BA294C #94BA29 #29BA98
square
#4F29BA #BA294C #94BA29 #29BA98
split-complementary
#4F29BA #BA9829 #4CBA29
monochromatic
#241356 #3A1E88 #4F29BA #6E49D7 #967BE2

Accessibility & contrast

On white

8.90
#4F29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29BA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29BA#FFFFFF#000000##FFFFFF
##4F29BA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#175371
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f29ba;
/* rgb */ color: rgb(79, 41, 186);
/* oklch */ color: oklch(43.2% 0.208 285.7);
Tailwind
colors: {
  custom: {
    50: '#8d68d0',
    500: '#4f29ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ba;
$custom-light: #8d68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ba",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 255.724,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.20836,
    "h": 285.7
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#4F29BA
secondary
#B4CA75
accent
#E741BB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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