#4F32BA#4F32BA

#4F32BA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.200 H 284.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4F32BA
RGBrgb(79, 50, 186)
HSLhsl(253, 58%, 46%)
HSVhsv(253, 73%, 73%)
CMYKcmyk(57.5%, 73.1%, 0%, 27.1%)
CIE-LABlab(32.89, 48.35, -67.06)
CIE-LCHlch(32.89, 82.67, 305.79°)
OKLaboklab(44.28% 0.0501 -0.1931)
OKLCHoklch(44.28% 0.2 284.5)
XYZxyz(13.2253, 7.4878, 47.1933)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32BA #9DBA32
analogous
#3259BA #4F32BA #9332BA
triadic
#4F32BA #BA4F32 #32BA4F
tetradic
#4F32BA #BA3259 #9DBA32 #32BA93
square
#4F32BA #BA3259 #9DBA32 #32BA93
split-complementary
#4F32BA #BA9332 #59BA32
monochromatic
#26185A #3B258A #4F32BA #7157D2 #9A88DF

Accessibility & contrast

On white

8.41
#4F32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32BA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32BA#FFFFFF#000000##FFFFFF
##4F32BA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#165773
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f32ba;
/* rgb */ color: rgb(79, 50, 186);
/* oklch */ color: oklch(44.3% 0.200 284.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dd0',
    500: '#4f32ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f32ba;
$custom-light: #8c6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32ba",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 252.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.19951,
    "h": 284.5
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#4F32BA
secondary
#B9C97F
accent
#E147C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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