#4F32B8#4F32B8

#4F32B8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.197 H 284.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4F32B8
RGBrgb(79, 50, 184)
HSLhsl(253, 57%, 46%)
HSVhsv(253, 73%, 72%)
CMYKcmyk(57.1%, 72.8%, 0%, 27.8%)
CIE-LABlab(32.71, 47.76, -66.18)
CIE-LCHlch(32.71, 81.61, 305.82°)
OKLaboklab(44.09% 0.0506 -0.1905)
OKLCHoklch(44.09% 0.197 284.9)
XYZxyz(13.0141, 7.4034, 46.0813)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32B8 #9BB832
analogous
#3258B8 #4F32B8 #9232B8
triadic
#4F32B8 #B84F32 #32B84F
tetradic
#4F32B8 #B83258 #9BB832 #32B892
square
#4F32B8 #B83258 #9BB832 #32B892
split-complementary
#4F32B8 #B89232 #58B832
monochromatic
#261858 #3A2588 #4F32B8 #7156D1 #9986DE

Accessibility & contrast

On white

8.47
#4F32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32B8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32B8#FFFFFF#000000##FFFFFF
##4F32B81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#1A5772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f32b8;
/* rgb */ color: rgb(79, 50, 184);
/* oklch */ color: oklch(44.1% 0.197 284.9);
Tailwind
colors: {
  custom: {
    50: '#8c6dce',
    500: '#4f32b8',
    950: '#000000',
  },
}
SCSS
$custom: #4f32b8;
$custom-light: #8c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32b8",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 252.985,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.19712,
    "h": 284.9
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#4F32B8
secondary
#B8C87E
accent
#E147BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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