#4F29CA#4F29CA

#4F29CA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.226 H 283.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4F29CA
RGBrgb(79, 41, 202)
HSLhsl(254, 66%, 48%)
HSVhsv(254, 80%, 79%)
CMYKcmyk(60.9%, 79.7%, 0%, 20.8%)
CIE-LABlab(32.94, 57.27, -76.37)
CIE-LCHlch(32.94, 95.46, 306.87°)
OKLaboklab(44.78% 0.0517 -0.2202)
OKLCHoklch(44.78% 0.226 283.2)
XYZxyz(14.6748, 7.5114, 56.5422)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29CA #A4CA29
analogous
#2954CA #4F29CA #9F29CA
triadic
#4F29CA #CA4F29 #29CA4F
tetradic
#4F29CA #CA2954 #A4CA29 #29CA9F
square
#4F29CA #CA2954 #A4CA29 #29CA9F
split-complementary
#4F29CA #CA9F29 #54CA29
monochromatic
#271464 #3B1F97 #4F29CA #7454DC #9D87E7

Accessibility & contrast

On white

8.39
#4F29CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F29CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29CA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29CA#FFFFFF#000000##FFFFFF
##4F29CA1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f29ca;
/* rgb */ color: rgb(79, 41, 202);
/* oklch */ color: oklch(44.8% 0.226 283.2);
Tailwind
colors: {
  custom: {
    50: '#8f69dc',
    500: '#4f29ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ca;
$custom-light: #8f69dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ca",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 254.161,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.22621,
    "h": 283.2
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#4F29CA
secondary
#BDD07F
accent
#E93FC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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