#4F32BD#4F32BD

#4F32BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.203 H 284.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4F32BD
RGBrgb(79, 50, 189)
HSLhsl(253, 58%, 47%)
HSVhsv(253, 74%, 74%)
CMYKcmyk(58.2%, 73.5%, 0%, 25.9%)
CIE-LABlab(33.17, 49.24, -68.37)
CIE-LCHlch(33.17, 84.25, 305.76°)
OKLaboklab(44.56% 0.0494 -0.1969)
OKLCHoklch(44.56% 0.203 284.1)
XYZxyz(13.5475, 7.6167, 48.8905)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32BD #A0BD32
analogous
#325BBD #4F32BD #9532BD
triadic
#4F32BD #BD4F32 #32BD4F
tetradic
#4F32BD #BD325B #A0BD32 #32BD95
square
#4F32BD #BD325B #A0BD32 #32BD95
split-complementary
#4F32BD #BD9532 #5BBD32
monochromatic
#27185C #3B258D #4F32BD #7359D3 #9C89E0

Accessibility & contrast

On white

8.32
#4F32BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F32BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32BD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32BD#FFFFFF#000000##FFFFFF
##4F32BD1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#0F5875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f32bd;
/* rgb */ color: rgb(79, 50, 189);
/* oklch */ color: oklch(44.6% 0.203 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d6dd2',
    500: '#4f32bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f32bd;
$custom-light: #8d6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32bd",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 252.518,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4456,
    "c": 0.20306,
    "h": 284.1
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#4F32BD
secondary
#BBCA81
accent
#E146C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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