#4A349A#4A349A

#4A349A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.158 H 287.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4A349A
RGBrgb(74, 52, 154)
HSLhsl(253, 50%, 40%)
HSVhsv(253, 66%, 60%)
CMYKcmyk(51.9%, 66.2%, 0%, 39.6%)
CIE-LABlab(30.02, 36.75, -52.58)
CIE-LCHlch(30.02, 64.15, 304.95°)
OKLaboklab(41.25% 0.0468 -0.1508)
OKLCHoklch(41.25% 0.158 287.2)
XYZxyz(9.8831, 6.2445, 31.2501)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A349A #849A34
analogous
#34519A #4A349A #7D349A
triadic
#4A349A #9A4A34 #349A4A
tetradic
#4A349A #9A3451 #849A34 #349A7D
square
#4A349A #9A3451 #849A34 #349A7D
split-complementary
#4A349A #9A7D34 #519A34
monochromatic
#1E153E #34256C #4A349A #6349C2 #8B77D1

Accessibility & contrast

On white

9.34
#4A349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A349A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A349A#FFFFFF#000000##FFFFFF
##4A349A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#2C4D62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a349a;
/* rgb */ color: rgb(74, 52, 154);
/* oklch */ color: oklch(41.2% 0.158 287.2);
Tailwind
colors: {
  custom: {
    50: '#846db9',
    500: '#4a349a',
    950: '#000000',
  },
}
SCSS
$custom: #4a349a;
$custom-light: #846db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a349a",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 252.941,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.1579,
    "h": 287.2
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#4A349A
secondary
#AABA70
accent
#D94FBB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4A349A

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

Preview Lab → · Contrast checker → · Palette generator →

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