#4F32BF#4F32BF

#4F32BF is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.205 H 283.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4F32BF
RGBrgb(79, 50, 191)
HSLhsl(252, 59%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(58.6%, 73.8%, 0%, 25.1%)
CIE-LABlab(33.36, 49.82, -69.24)
CIE-LCHlch(33.36, 85.30, 305.74°)
OKLaboklab(44.75% 0.049 -0.1995)
OKLCHoklch(44.75% 0.205 283.8)
XYZxyz(13.7661, 7.7042, 50.0418)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32BF #A2BF32
analogous
#325CBF #4F32BF #9532BF
triadic
#4F32BF #BF4F32 #32BF4F
tetradic
#4F32BF #BF325C #A2BF32 #32BF95
square
#4F32BF #BF325C #A2BF32 #32BF95
split-complementary
#4F32BF #BF9532 #5CBF32
monochromatic
#27195E #3B258E #4F32BF #735AD4 #9C8BE1

Accessibility & contrast

On white

8.26
#4F32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4F32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32BF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32BF#FFFFFF#000000##FFFFFF
##4F32BF1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#085976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f32bf;
/* rgb */ color: rgb(79, 50, 191);
/* oklch */ color: oklch(44.7% 0.205 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d6dd4',
    500: '#4f32bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f32bf;
$custom-light: #8d6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32bf",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 252.34,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.20541,
    "h": 283.8
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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