#4F32B6#4F32B6

#4F32B6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.195 H 285.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4F32B6
RGBrgb(79, 50, 182)
HSLhsl(253, 57%, 45%)
HSVhsv(253, 73%, 71%)
CMYKcmyk(56.6%, 72.5%, 0%, 28.6%)
CIE-LABlab(32.52, 47.17, -65.30)
CIE-LCHlch(32.52, 80.55, 305.84°)
OKLaboklab(43.91% 0.051 -0.1879)
OKLCHoklch(43.91% 0.195 285.2)
XYZxyz(12.8060, 7.3201, 44.9850)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32B6 #99B632
analogous
#3257B6 #4F32B6 #9132B6
triadic
#4F32B6 #B64F32 #32B64F
tetradic
#4F32B6 #B63257 #99B632 #32B691
square
#4F32B6 #B63257 #99B632 #32B691
split-complementary
#4F32B6 #B69132 #57B632
monochromatic
#251856 #3A2586 #4F32B6 #7055D0 #9885DD

Accessibility & contrast

On white

8.52
#4F32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32B6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32B6#FFFFFF#000000##FFFFFF
##4F32B61.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#1D5671
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f32b6;
/* rgb */ color: rgb(79, 50, 182);
/* oklch */ color: oklch(43.9% 0.195 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b6dcd',
    500: '#4f32b6',
    950: '#000000',
  },
}
SCSS
$custom: #4f32b6;
$custom-light: #8b6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32b6",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 253.182,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.19473,
    "h": 285.2
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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