#4A2C8D#4A2C8D

#4A2C8D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.152 H 292.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4A2C8D
RGBrgb(74, 44, 141)
HSLhsl(259, 52%, 36%)
HSVhsv(259, 69%, 55%)
CMYKcmyk(47.5%, 68.8%, 0%, 44.7%)
CIE-LABlab(27.24, 37.48, -49.12)
CIE-LCHlch(27.24, 61.79, 307.35°)
OKLaboklab(38.91% 0.0569 -0.1406)
OKLCHoklch(38.91% 0.152 292)
XYZxyz(8.5311, 5.1800, 25.7445)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C8D #6F8D2C
analogous
#2C3F8D #4A2C8D #7B2C8D
triadic
#4A2C8D #8D4A2C #2C8D4A
tetradic
#4A2C8D #8D2C3F #6F8D2C #2C8D7B
square
#4A2C8D #8D2C3F #6F8D2C #2C8D7B
split-complementary
#4A2C8D #8D7B2C #3F8D2C
monochromatic
#190F30 #321D5E #4A2C8D #623BBC #8565CF

Accessibility & contrast

On white

10.31
#4A2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C8D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C8D#FFFFFF#000000##FFFFFF
##4A2C8D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#364458
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2c8d;
/* rgb */ color: rgb(74, 44, 141);
/* oklch */ color: oklch(38.9% 0.152 292.0);
Tailwind
colors: {
  custom: {
    50: '#8367af',
    500: '#4a2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c8d;
$custom-light: #8367af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c8d",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 258.557,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.15171,
    "h": 292
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#4A2C8D
secondary
#9BB560
accent
#DC4CAF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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