#4A2C92#4A2C92

#4A2C92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.158 H 290.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4A2C92
RGBrgb(74, 44, 146)
HSLhsl(258, 54%, 37%)
HSVhsv(258, 70%, 57%)
CMYKcmyk(49.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(27.66, 38.95, -51.52)
CIE-LCHlch(27.66, 64.59, 307.09°)
OKLaboklab(39.34% 0.0561 -0.1477)
OKLCHoklch(39.34% 0.158 290.8)
XYZxyz(8.9116, 5.3322, 27.7482)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C92 #74922C
analogous
#2C4192 #4A2C92 #7D2C92
triadic
#4A2C92 #924A2C #2C924A
tetradic
#4A2C92 #922C41 #74922C #2C927D
square
#4A2C92 #922C41 #74922C #2C927D
split-complementary
#4A2C92 #927D2C #41922C
monochromatic
#1A1034 #321E63 #4A2C92 #623AC1 #8667D1

Accessibility & contrast

On white

10.16
#4A2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C92
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C92#FFFFFF#000000##FFFFFF
##4A2C921.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#33465B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2c92;
/* rgb */ color: rgb(74, 44, 146);
/* oklch */ color: oklch(39.3% 0.158 290.8);
Tailwind
colors: {
  custom: {
    50: '#8367b3',
    500: '#4a2c92',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c92;
$custom-light: #8367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c92",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 257.647,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.158,
    "h": 290.8
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#4A2C92
secondary
#9FB862
accent
#DD4BB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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