#4F32AE#4F32AE

#4F32AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.185 H 286.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4F32AE
RGBrgb(79, 50, 174)
HSLhsl(254, 55%, 44%)
HSVhsv(254, 71%, 68%)
CMYKcmyk(54.6%, 71.3%, 0%, 31.8%)
CIE-LABlab(31.80, 44.80, -61.71)
CIE-LCHlch(31.80, 76.26, 305.98°)
OKLaboklab(43.17% 0.0527 -0.1774)
OKLCHoklch(43.17% 0.185 286.5)
XYZxyz(12.0028, 6.9988, 40.7546)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32AE #91AE32
analogous
#3253AE #4F32AE #8D32AE
triadic
#4F32AE #AE4F32 #32AE4F
tetradic
#4F32AE #AE3253 #91AE32 #32AE8D
square
#4F32AE #AE3253 #91AE32 #32AE8D
split-complementary
#4F32AE #AE8D32 #53AE32
monochromatic
#24174F #39247E #4F32AE #6D50CD #9580DA

Accessibility & contrast

On white

8.75
#4F32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4F32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32AE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32AE#FFFFFF#000000##FFFFFF
##4F32AE1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#27536C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f32ae;
/* rgb */ color: rgb(79, 50, 174);
/* oklch */ color: oklch(43.2% 0.185 286.5);
Tailwind
colors: {
  custom: {
    50: '#8a6dc7',
    500: '#4f32ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f32ae;
$custom-light: #8a6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32ae",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 254.032,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43172,
    "c": 0.1851,
    "h": 286.5
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#4F32AE
secondary
#B2C478
accent
#DF49BC
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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