#4F32C1#4F32C1

#4F32C1 is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.208 H 283.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4F32C1
RGBrgb(79, 50, 193)
HSLhsl(252, 59%, 48%)
HSVhsv(252, 74%, 76%)
CMYKcmyk(59.1%, 74.1%, 0%, 24.3%)
CIE-LABlab(33.55, 50.41, -70.11)
CIE-LCHlch(33.55, 86.35, 305.72°)
OKLaboklab(44.94% 0.0485 -0.202)
OKLCHoklch(44.94% 0.208 283.5)
XYZxyz(13.9877, 7.7928, 51.2088)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32C1 #A4C132
analogous
#325CC1 #4F32C1 #9732C1
triadic
#4F32C1 #C14F32 #32C14F
tetradic
#4F32C1 #C1325C #A4C132 #32C197
square
#4F32C1 #C1325C #A4C132 #32C197
split-complementary
#4F32C1 #C19732 #5CC132
monochromatic
#271960 #3B2590 #4F32C1 #745CD5 #9D8CE1

Accessibility & contrast

On white

8.21
#4F32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F32C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32C1
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32C1#FFFFFF#000000##FFFFFF
##4F32C11.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#015A77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f32c1;
/* rgb */ color: rgb(79, 50, 193);
/* oklch */ color: oklch(44.9% 0.208 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d6dd5',
    500: '#4f32c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f32c1;
$custom-light: #8d6dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32c1",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 252.168,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.20777,
    "h": 283.5
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#4F32C1
secondary
#BDCB83
accent
#E246C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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