#4F29A2#4F29A2

#4F29A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.181 H 290.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4F29A2
RGBrgb(79, 41, 162)
HSLhsl(259, 60%, 40%)
HSVhsv(259, 75%, 64%)
CMYKcmyk(51.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(29.05, 46.03, -59.01)
CIE-LCHlch(29.05, 74.84, 307.95°)
OKLaboklab(40.89% 0.0631 -0.1695)
OKLCHoklch(40.89% 0.181 290.4)
XYZxyz(10.5371, 5.8563, 34.7506)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29A2 #7CA229
analogous
#2940A2 #4F29A2 #8C29A2
triadic
#4F29A2 #A24F29 #29A24F
tetradic
#4F29A2 #A22940 #7CA229 #29A28C
square
#4F29A2 #A22940 #7CA229 #29A28C
split-complementary
#4F29A2 #A28C29 #40A229
monochromatic
#1F1040 #371D71 #4F29A2 #693BCD #8E6CDA

Accessibility & contrast

On white

9.67
#4F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29A2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29A2#FFFFFF#000000##FFFFFF
##4F29A21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#324A63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f29a2;
/* rgb */ color: rgb(79, 41, 162);
/* oklch */ color: oklch(40.9% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#8967bf',
    500: '#4f29a2',
    950: '#000000',
  },
}
SCSS
$custom: #4f29a2;
$custom-light: #8967bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29a2",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 258.843,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.18083,
    "h": 290.4
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#4F29A2
secondary
#A4C067
accent
#E345B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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