#4A32C2#4A32C2

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

Color values

HEX#4A32C2
RGBrgb(74, 50, 194)
HSLhsl(250, 59%, 48%)
HSVhsv(250, 74%, 76%)
CMYKcmyk(61.9%, 74.2%, 0%, 23.9%)
CIE-LABlab(33.20, 50.07, -71.28)
CIE-LCHlch(33.20, 87.11, 305.09°)
OKLaboklab(44.62% 0.0412 -0.2056)
OKLCHoklch(44.62% 0.21 281.3)
XYZxyz(13.6992, 7.6311, 51.7795)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32C2 #AAC232
analogous
#3262C2 #4A32C2 #9232C2
triadic
#4A32C2 #C24A32 #32C24A
tetradic
#4A32C2 #C23262 #AAC232 #32C292
square
#4A32C2 #C23262 #AAC232 #32C292
split-complementary
#4A32C2 #C29232 #62C232
monochromatic
#251961 #372591 #4A32C2 #705CD5 #9B8DE2

Accessibility & contrast

On white

8.31
#4A32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4A32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A32C2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32C2#FFFFFF#000000##FFFFFF
##4A32C21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a32c2;
/* rgb */ color: rgb(74, 50, 194);
/* oklch */ color: oklch(44.6% 0.210 281.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dd6',
    500: '#4a32c2',
    950: '#000000',
  },
}
SCSS
$custom: #4a32c2;
$custom-light: #8b6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32c2",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 250,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.20967,
    "h": 281.3
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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