#4F32AD#4F32AD

#4F32AD is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.184 H 286.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4F32AD
RGBrgb(79, 50, 173)
HSLhsl(254, 55%, 44%)
HSVhsv(254, 71%, 68%)
CMYKcmyk(54.3%, 71.1%, 0%, 32.2%)
CIE-LABlab(31.72, 44.50, -61.26)
CIE-LCHlch(31.72, 75.72, 306.00°)
OKLaboklab(43.08% 0.0529 -0.1761)
OKLCHoklch(43.08% 0.184 286.7)
XYZxyz(11.9056, 6.9600, 40.2431)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32AD #90AD32
analogous
#3252AD #4F32AD #8C32AD
triadic
#4F32AD #AD4F32 #32AD4F
tetradic
#4F32AD #AD3252 #90AD32 #32AD8C
square
#4F32AD #AD3252 #90AD32 #32AD8C
split-complementary
#4F32AD #AD8C32 #52AD32
monochromatic
#24174E #39247E #4F32AD #6D50CC #957FDA

Accessibility & contrast

On white

8.78
#4F32AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4F32AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32AD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32AD#FFFFFF#000000##FFFFFF
##4F32AD1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#28526C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f32ad;
/* rgb */ color: rgb(79, 50, 173);
/* oklch */ color: oklch(43.1% 0.184 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a6cc6',
    500: '#4f32ad',
    950: '#000000',
  },
}
SCSS
$custom: #4f32ad;
$custom-light: #8a6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32ad",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 254.146,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.18388,
    "h": 286.7
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#4F32AD
secondary
#B1C378
accent
#DE49BB
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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