#4F32C7#4F32C7

#4F32C7 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.215 H 282.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4F32C7
RGBrgb(79, 50, 199)
HSLhsl(252, 60%, 49%)
HSVhsv(252, 75%, 78%)
CMYKcmyk(60.3%, 74.9%, 0%, 22%)
CIE-LABlab(34.12, 52.17, -72.68)
CIE-LCHlch(34.12, 89.47, 305.67°)
OKLaboklab(45.52% 0.047 -0.2095)
OKLCHoklch(45.52% 0.215 282.7)
XYZxyz(14.6706, 8.0660, 54.8056)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32C7 #AAC732
analogous
#3260C7 #4F32C7 #9A32C7
triadic
#4F32C7 #C74F32 #32C74F
tetradic
#4F32C7 #C73260 #AAC732 #32C79A
square
#4F32C7 #C73260 #AAC732 #32C79A
split-complementary
#4F32C7 #C79A32 #60C732
monochromatic
#281965 #3C2696 #4F32C7 #775FD7 #A090E3

Accessibility & contrast

On white

8.04
#4F32C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F32C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32C7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32C7#FFFFFF#000000##FFFFFF
##4F32C71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f32c7;
/* rgb */ color: rgb(79, 50, 199);
/* oklch */ color: oklch(45.5% 0.215 282.7);
Tailwind
colors: {
  custom: {
    50: '#8e6ed9',
    500: '#4f32c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f32c7;
$custom-light: #8e6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32c7",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 251.678,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.21476,
    "h": 282.7
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#4F32C7
secondary
#C0CE87
accent
#E345C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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