#4F32B7#4F32B7

#4F32B7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.196 H 285.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F32B7
RGBrgb(79, 50, 183)
HSLhsl(253, 57%, 46%)
HSVhsv(253, 73%, 72%)
CMYKcmyk(56.8%, 72.7%, 0%, 28.2%)
CIE-LABlab(32.62, 47.46, -65.74)
CIE-LCHlch(32.62, 81.08, 305.83°)
OKLaboklab(44% 0.0508 -0.1892)
OKLCHoklch(44% 0.196 285)
XYZxyz(12.9097, 7.3616, 45.5312)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32B7 #9AB732
analogous
#3257B7 #4F32B7 #9232B7
triadic
#4F32B7 #B74F32 #32B74F
tetradic
#4F32B7 #B73257 #9AB732 #32B792
square
#4F32B7 #B73257 #9AB732 #32B792
split-complementary
#4F32B7 #B79232 #57B732
monochromatic
#251857 #3A2587 #4F32B7 #7056D1 #9986DE

Accessibility & contrast

On white

8.49
#4F32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32B7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32B7#FFFFFF#000000##FFFFFF
##4F32B71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#1B5671
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f32b7;
/* rgb */ color: rgb(79, 50, 183);
/* oklch */ color: oklch(44.0% 0.196 285.0);
Tailwind
colors: {
  custom: {
    50: '#8c6dce',
    500: '#4f32b7',
    950: '#000000',
  },
}
SCSS
$custom: #4f32b7;
$custom-light: #8c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32b7",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 253.083,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.19593,
    "h": 285
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#4F32B7
secondary
#B7C77D
accent
#E047BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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