#4F32AC#4F32AC

#4F32AC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.183 H 286.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4F32AC
RGBrgb(79, 50, 172)
HSLhsl(254, 55%, 44%)
HSVhsv(254, 71%, 67%)
CMYKcmyk(54.1%, 70.9%, 0%, 32.5%)
CIE-LABlab(31.63, 44.21, -60.81)
CIE-LCHlch(31.63, 75.18, 306.02°)
OKLaboklab(42.99% 0.0531 -0.1748)
OKLCHoklch(42.99% 0.183 286.9)
XYZxyz(11.8092, 6.9214, 39.7354)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32AC #8FAC32
analogous
#3252AC #4F32AC #8C32AC
triadic
#4F32AC #AC4F32 #32AC4F
tetradic
#4F32AC #AC3252 #8FAC32 #32AC8C
square
#4F32AC #AC3252 #8FAC32 #32AC8C
split-complementary
#4F32AC #AC8C32 #52AC32
monochromatic
#23164D #39247D #4F32AC #6D4FCC #947FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F32AC#FFFFFF#000000##FFFFFF
##4F32AC1.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)
#004DB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#29526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f32ac;
/* rgb */ color: rgb(79, 50, 172);
/* oklch */ color: oklch(43.0% 0.183 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a6cc6',
    500: '#4f32ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f32ac;
$custom-light: #8a6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32ac",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 254.262,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.18267,
    "h": 286.9
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#4F32AC
secondary
#B1C377
accent
#DE4ABB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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