#4F32C8#4F32C8

#4F32C8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.216 H 282.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F32C8
RGBrgb(79, 50, 200)
HSLhsl(252, 60%, 49%)
HSVhsv(252, 75%, 78%)
CMYKcmyk(60.5%, 75%, 0%, 21.6%)
CIE-LABlab(34.22, 52.47, -73.10)
CIE-LCHlch(34.22, 89.98, 305.67°)
OKLaboklab(45.61% 0.0468 -0.2108)
OKLCHoklch(45.61% 0.216 282.5)
XYZxyz(14.7871, 8.1126, 55.4190)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32C8 #ABC832
analogous
#3260C8 #4F32C8 #9A32C8
triadic
#4F32C8 #C84F32 #32C84F
tetradic
#4F32C8 #C83260 #ABC832 #32C89A
square
#4F32C8 #C83260 #ABC832 #32C89A
split-complementary
#4F32C8 #C89A32 #60C832
monochromatic
#281A66 #3C2697 #4F32C8 #7760D7 #A191E3

Accessibility & contrast

On white

8.01
#4F32C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F32C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32C8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32C8#FFFFFF#000000##FFFFFF
##4F32C81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f32c8;
/* rgb */ color: rgb(79, 50, 200);
/* oklch */ color: oklch(45.6% 0.216 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e6eda',
    500: '#4f32c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f32c8;
$custom-light: #8e6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32c8",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 251.6,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.21592,
    "h": 282.5
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#4F32C8
secondary
#C1CE88
accent
#E345C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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