#4E32BE#4E32BE

#4E32BE is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.204 H 283.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4E32BE
RGBrgb(78, 50, 190)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(58.9%, 73.7%, 0%, 25.5%)
CIE-LABlab(33.17, 49.40, -68.96)
CIE-LCHlch(33.17, 84.83, 305.61°)
OKLaboklab(44.57% 0.0478 -0.1987)
OKLCHoklch(44.57% 0.204 283.5)
XYZxyz(13.5739, 7.6177, 49.4603)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32BE #A2BE32
analogous
#325CBE #4E32BE #9432BE
triadic
#4E32BE #BE4E32 #32BE4E
tetradic
#4E32BE #BE325C #A2BE32 #32BE94
square
#4E32BE #BE325C #A2BE32 #32BE94
split-complementary
#4E32BE #BE9432 #5CBE32
monochromatic
#26195D #3A258E #4E32BE #725AD3 #9B8AE0

Accessibility & contrast

On white

8.32
#4E32BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E32BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32BE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32BE#FFFFFF#000000##FFFFFF
##4E32BE1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#045975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e32be;
/* rgb */ color: rgb(78, 50, 190);
/* oklch */ color: oklch(44.6% 0.204 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dd3',
    500: '#4e32be',
    950: '#000000',
  },
}
SCSS
$custom: #4e32be;
$custom-light: #8c6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32be",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 252,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44567,
    "c": 0.20436,
    "h": 283.5
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#4E32BE
secondary
#BCCA82
accent
#E246C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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