#4F32B3#4F32B3

#4F32B3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.191 H 285.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4F32B3
RGBrgb(79, 50, 179)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 70%)
CMYKcmyk(55.9%, 72.1%, 0%, 29.8%)
CIE-LABlab(32.25, 46.28, -63.96)
CIE-LCHlch(32.25, 78.95, 305.89°)
OKLaboklab(43.63% 0.0516 -0.184)
OKLCHoklch(43.63% 0.191 285.7)
XYZxyz(12.4993, 7.1974, 43.3697)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32B3 #96B332
analogous
#3256B3 #4F32B3 #8F32B3
triadic
#4F32B3 #B34F32 #32B34F
tetradic
#4F32B3 #B33256 #96B332 #32B38F
square
#4F32B3 #B33256 #96B332 #32B38F
split-complementary
#4F32B3 #B38F32 #56B332
monochromatic
#251753 #3A2583 #4F32B3 #6F53CF #9783DC

Accessibility & contrast

On white

8.61
#4F32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32B3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32B3#FFFFFF#000000##FFFFFF
##4F32B31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#21556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f32b3;
/* rgb */ color: rgb(79, 50, 179);
/* oklch */ color: oklch(43.6% 0.191 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b6dcb',
    500: '#4f32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f32b3;
$custom-light: #8b6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32b3",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 253.488,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.19115,
    "h": 285.7
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#4F32B3
secondary
#B5C67B
accent
#E048BE
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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