#4F32BB#4F32BB

#4F32BB is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.201 H 284.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4F32BB
RGBrgb(79, 50, 187)
HSLhsl(253, 58%, 46%)
HSVhsv(253, 73%, 73%)
CMYKcmyk(57.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(32.99, 48.65, -67.50)
CIE-LCHlch(32.99, 83.20, 305.78°)
OKLaboklab(44.37% 0.0499 -0.1944)
OKLCHoklch(44.37% 0.201 284.4)
XYZxyz(13.3320, 7.5305, 47.7551)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32BB #9EBB32
analogous
#325ABB #4F32BB #9432BB
triadic
#4F32BB #BB4F32 #32BB4F
tetradic
#4F32BB #BB325A #9EBB32 #32BB94
square
#4F32BB #BB325A #9EBB32 #32BB94
split-complementary
#4F32BB #BB9432 #5ABB32
monochromatic
#26185A #3B258B #4F32BB #7258D2 #9B88DF

Accessibility & contrast

On white

8.38
#4F32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32BB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32BB#FFFFFF#000000##FFFFFF
##4F32BB1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#145874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f32bb;
/* rgb */ color: rgb(79, 50, 187);
/* oklch */ color: oklch(44.4% 0.201 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c6dd1',
    500: '#4f32bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f32bb;
$custom-light: #8c6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32bb",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 252.701,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.20069,
    "h": 284.4
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#4F32BB
secondary
#BAC980
accent
#E147C0
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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