#4F32D7#4F32D7

#4F32D7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.233 H 280.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4F32D7
RGBrgb(79, 50, 215)
HSLhsl(251, 67%, 52%)
HSVhsv(251, 77%, 84%)
CMYKcmyk(63.3%, 76.7%, 0%, 15.7%)
CIE-LABlab(35.69, 56.83, -79.37)
CIE-LCHlch(35.69, 97.62, 305.60°)
OKLaboklab(47.09% 0.043 -0.2291)
OKLCHoklch(47.09% 0.233 280.6)
XYZxyz(16.6269, 8.8485, 65.1085)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32D7 #BAD732
analogous
#3268D7 #4F32D7 #A132D7
triadic
#4F32D7 #D74F32 #32D74F
tetradic
#4F32D7 #D73268 #BAD732 #32D7A1
square
#4F32D7 #D73268 #BAD732 #32D7A1
split-complementary
#4F32D7 #D7A132 #68D732
monochromatic
#281777 #3921AB #4F32D7 #7B65E1 #A798EB

Accessibility & contrast

On white

7.58
#4F32D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4F32D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32D7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32D7#FFFFFF#000000##FFFFFF
##4F32D71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004ED4
Tritanopia (blue-blind)
#006384
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f32d7;
/* rgb */ color: rgb(79, 50, 215);
/* oklch */ color: oklch(47.1% 0.233 280.6);
Tailwind
colors: {
  custom: {
    50: '#916ee5',
    500: '#4f32d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f32d7;
$custom-light: #916ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32d7",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 215
  },
  "hsl": {
    "h": 250.545,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.23308,
    "h": 280.6
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#4F32D7
secondary
#CAD78E
accent
#EA3ECC
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4F32D7

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

Preview Lab → · Contrast checker → · Palette generator →

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