#4F32CF#4F32CF

#4F32CF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.224 H 281.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4F32CF
RGBrgb(79, 50, 207)
HSLhsl(251, 62%, 50%)
HSVhsv(251, 76%, 81%)
CMYKcmyk(61.8%, 75.8%, 0%, 18.8%)
CIE-LABlab(34.90, 54.51, -76.06)
CIE-LCHlch(34.90, 93.57, 305.63°)
OKLaboklab(46.29% 0.045 -0.2194)
OKLCHoklch(46.29% 0.224 281.6)
XYZxyz(15.6240, 8.4473, 59.8266)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32CF #B2CF32
analogous
#3263CF #4F32CF #9E32CF
triadic
#4F32CF #CF4F32 #32CF4F
tetradic
#4F32CF #CF3263 #B2CF32 #32CF9E
square
#4F32CF #CF3263 #B2CF32 #32CF9E
split-complementary
#4F32CF #CF9E32 #63CF32
monochromatic
#291A6D #3C259F #4F32CF #7A64DB #A495E6

Accessibility & contrast

On white

7.81
#4F32CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4F32CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32CF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32CF#FFFFFF#000000##FFFFFF
##4F32CF1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f32cf;
/* rgb */ color: rgb(79, 50, 207);
/* oklch */ color: oklch(46.3% 0.224 281.6);
Tailwind
colors: {
  custom: {
    50: '#906edf',
    500: '#4f32cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f32cf;
$custom-light: #906edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32cf",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 251.083,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.22398,
    "h": 281.6
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#4F32CF
secondary
#C4D18B
accent
#E543C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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