#4F32B5#4F32B5

#4F32B5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.194 H 285.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4F32B5
RGBrgb(79, 50, 181)
HSLhsl(253, 57%, 45%)
HSVhsv(253, 72%, 71%)
CMYKcmyk(56.4%, 72.4%, 0%, 29%)
CIE-LABlab(32.43, 46.87, -64.85)
CIE-LCHlch(32.43, 80.02, 305.86°)
OKLaboklab(43.81% 0.0512 -0.1866)
OKLCHoklch(43.81% 0.194 285.3)
XYZxyz(12.7030, 7.2789, 44.4427)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32B5 #98B532
analogous
#3257B5 #4F32B5 #9032B5
triadic
#4F32B5 #B54F32 #32B54F
tetradic
#4F32B5 #B53257 #98B532 #32B590
square
#4F32B5 #B53257 #98B532 #32B590
split-complementary
#4F32B5 #B59032 #57B532
monochromatic
#251855 #3A2585 #4F32B5 #7054D0 #9884DD

Accessibility & contrast

On white

8.55
#4F32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32B5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32B5#FFFFFF#000000##FFFFFF
##4F32B51.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#1E5570
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f32b5;
/* rgb */ color: rgb(79, 50, 181);
/* oklch */ color: oklch(43.8% 0.194 285.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dcc',
    500: '#4f32b5',
    950: '#000000',
  },
}
SCSS
$custom: #4f32b5;
$custom-light: #8b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32b5",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 253.282,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.19354,
    "h": 285.3
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#4F32B5
secondary
#B6C77C
accent
#E048BE
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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