#4F32CC#4F32CC

#4F32CC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.221 H 282.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4F32CC
RGBrgb(79, 50, 204)
HSLhsl(251, 61%, 50%)
HSVhsv(251, 75%, 80%)
CMYKcmyk(61.3%, 75.5%, 0%, 20%)
CIE-LABlab(34.60, 53.64, -74.80)
CIE-LCHlch(34.60, 92.04, 305.64°)
OKLaboklab(46% 0.0458 -0.2157)
OKLCHoklch(46% 0.221 282)
XYZxyz(15.2607, 8.3020, 57.9133)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32CC #AFCC32
analogous
#3262CC #4F32CC #9C32CC
triadic
#4F32CC #CC4F32 #32CC4F
tetradic
#4F32CC #CC3262 #AFCC32 #32CC9C
square
#4F32CC #CC3262 #AFCC32 #32CC9C
split-complementary
#4F32CC #CC9C32 #62CC32
monochromatic
#291A6A #3C269B #4F32CC #7963D9 #A394E5

Accessibility & contrast

On white

7.89
#4F32CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4F32CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32CC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32CC#FFFFFF#000000##FFFFFF
##4F32CC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f32cc;
/* rgb */ color: rgb(79, 50, 204);
/* oklch */ color: oklch(46.0% 0.221 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f6edd',
    500: '#4f32cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f32cc;
$custom-light: #8f6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32cc",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 251.299,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.22054,
    "h": 282
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#4F32CC
secondary
#C3D08A
accent
#E444C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F32CC

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

Preview Lab → · Contrast checker → · Palette generator →

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