#4F32C4#4F32C4

#4F32C4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.211 H 283.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4F32C4
RGBrgb(79, 50, 196)
HSLhsl(252, 59%, 48%)
HSVhsv(252, 74%, 77%)
CMYKcmyk(59.7%, 74.5%, 0%, 23.1%)
CIE-LABlab(33.83, 51.30, -71.40)
CIE-LCHlch(33.83, 87.91, 305.70°)
OKLaboklab(45.23% 0.0478 -0.2058)
OKLCHoklch(45.23% 0.211 283.1)
XYZxyz(14.3258, 7.9280, 52.9892)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32C4 #A7C432
analogous
#325EC4 #4F32C4 #9832C4
triadic
#4F32C4 #C44F32 #32C44F
tetradic
#4F32C4 #C4325E #A7C432 #32C498
square
#4F32C4 #C4325E #A7C432 #32C498
split-complementary
#4F32C4 #C49832 #5EC432
monochromatic
#281962 #3B2693 #4F32C4 #755DD6 #9F8EE2

Accessibility & contrast

On white

8.12
#4F32C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F32C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32C4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32C4#FFFFFF#000000##FFFFFF
##4F32C41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f32c4;
/* rgb */ color: rgb(79, 50, 196);
/* oklch */ color: oklch(45.2% 0.211 283.1);
Tailwind
colors: {
  custom: {
    50: '#8e6dd7',
    500: '#4f32c4',
    950: '#000000',
  },
}
SCSS
$custom: #4f32c4;
$custom-light: #8e6dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32c4",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 251.918,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.21127,
    "h": 283.1
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#4F32C4
secondary
#BECD85
accent
#E345C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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