#4A32C1#4A32C1

#4A32C1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.5% C 0.208 H 281.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4A32C1
RGBrgb(74, 50, 193)
HSLhsl(250, 59%, 48%)
HSVhsv(250, 74%, 76%)
CMYKcmyk(61.7%, 74.1%, 0%, 24.3%)
CIE-LABlab(33.11, 49.77, -70.85)
CIE-LCHlch(33.11, 86.59, 305.09°)
OKLaboklab(44.52% 0.0414 -0.2043)
OKLCHoklch(44.52% 0.208 281.5)
XYZxyz(13.5873, 7.5863, 51.1900)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32C1 #A9C132
analogous
#3261C1 #4A32C1 #9232C1
triadic
#4A32C1 #C14A32 #32C14A
tetradic
#4A32C1 #C13261 #A9C132 #32C192
square
#4A32C1 #C13261 #A9C132 #32C192
split-complementary
#4A32C1 #C19232 #61C132
monochromatic
#251960 #372590 #4A32C1 #705CD5 #9A8CE1

Accessibility & contrast

On white

8.34
#4A32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A32C1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32C1#FFFFFF#000000##FFFFFF
##4A32C11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0049BE
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a32c1;
/* rgb */ color: rgb(74, 50, 193);
/* oklch */ color: oklch(44.5% 0.208 281.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dd5',
    500: '#4a32c1',
    950: '#000000',
  },
}
SCSS
$custom: #4a32c1;
$custom-light: #8b6dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32c1",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 250.07,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.20849,
    "h": 281.5
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#4A32C1
secondary
#BFCB83
accent
#E246C8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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