#4F32C0#4F32C0

#4F32C0 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.207 H 283.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4F32C0
RGBrgb(79, 50, 192)
HSLhsl(252, 59%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(58.9%, 74%, 0%, 24.7%)
CIE-LABlab(33.45, 50.12, -69.67)
CIE-LCHlch(33.45, 85.83, 305.73°)
OKLaboklab(44.84% 0.0487 -0.2008)
OKLCHoklch(44.84% 0.207 283.6)
XYZxyz(13.8765, 7.7483, 50.6233)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32C0 #A3C032
analogous
#325CC0 #4F32C0 #9632C0
triadic
#4F32C0 #C04F32 #32C04F
tetradic
#4F32C0 #C0325C #A3C032 #32C096
square
#4F32C0 #C0325C #A3C032 #32C096
split-complementary
#4F32C0 #C09632 #5CC032
monochromatic
#27195F #3B258F #4F32C0 #745BD4 #9D8BE1

Accessibility & contrast

On white

8.24
#4F32C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F32C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32C0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32C0#FFFFFF#000000##FFFFFF
##4F32C01.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#055A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f32c0;
/* rgb */ color: rgb(79, 50, 192);
/* oklch */ color: oklch(44.8% 0.207 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d6dd4',
    500: '#4f32c0',
    950: '#000000',
  },
}
SCSS
$custom: #4f32c0;
$custom-light: #8d6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32c0",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 252.254,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.20659,
    "h": 283.6
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#4F32C0
secondary
#BCCB83
accent
#E246C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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