#4B32B8#4B32B8

#4B32B8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.198 H 283.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4B32B8
RGBrgb(75, 50, 184)
HSLhsl(251, 57%, 46%)
HSVhsv(251, 73%, 72%)
CMYKcmyk(59.2%, 72.8%, 0%, 27.8%)
CIE-LABlab(32.34, 47.20, -66.80)
CIE-LCHlch(32.34, 81.79, 305.24°)
OKLaboklab(43.74% 0.0448 -0.1925)
OKLCHoklch(43.74% 0.198 283.1)
XYZxyz(12.6913, 7.2369, 46.0662)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32B8 #9FB832
analogous
#325CB8 #4B32B8 #8E32B8
triadic
#4B32B8 #B84B32 #32B84B
tetradic
#4B32B8 #B8325C #9FB832 #32B88E
square
#4B32B8 #B8325C #9FB832 #32B88E
split-complementary
#4B32B8 #B88E32 #5CB832
monochromatic
#241858 #372588 #4B32B8 #6D56D1 #9786DE

Accessibility & contrast

On white

8.58
#4B32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4B32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32B8
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32B8#FFFFFF#000000##FFFFFF
##4B32B81.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#015772
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b32b8;
/* rgb */ color: rgb(75, 50, 184);
/* oklch */ color: oklch(43.7% 0.198 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6dce',
    500: '#4b32b8',
    950: '#000000',
  },
}
SCSS
$custom: #4b32b8;
$custom-light: #8a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32b8",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 251.194,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.19762,
    "h": 283.1
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#4B32B8
secondary
#BAC87E
accent
#E147C4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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