#4A349B#4A349B

#4A349B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.159 H 287.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4A349B
RGBrgb(74, 52, 155)
HSLhsl(253, 50%, 41%)
HSVhsv(253, 66%, 61%)
CMYKcmyk(52.3%, 66.5%, 0%, 39.2%)
CIE-LABlab(30.10, 37.06, -53.05)
CIE-LCHlch(30.10, 64.72, 304.94°)
OKLaboklab(41.33% 0.0467 -0.1522)
OKLCHoklch(41.33% 0.159 287.1)
XYZxyz(9.9667, 6.2779, 31.6906)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A349B #859B34
analogous
#34519B #4A349B #7D349B
triadic
#4A349B #9B4A34 #349B4A
tetradic
#4A349B #9B3451 #859B34 #349B7D
square
#4A349B #9B3451 #859B34 #349B7D
split-complementary
#4A349B #9B7D34 #519B34
monochromatic
#1E153F #34256D #4A349B #644AC2 #8B78D2

Accessibility & contrast

On white

9.31
#4A349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A349B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A349B#FFFFFF#000000##FFFFFF
##4A349B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#2C4D63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a349b;
/* rgb */ color: rgb(74, 52, 155);
/* oklch */ color: oklch(41.3% 0.159 287.1);
Tailwind
colors: {
  custom: {
    50: '#846db9',
    500: '#4a349b',
    950: '#000000',
  },
}
SCSS
$custom: #4a349b;
$custom-light: #846db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a349b",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 252.816,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.1592,
    "h": 287.1
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#4A349B
secondary
#AABA71
accent
#D94FBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4A349B

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

Preview Lab → · Contrast checker → · Palette generator →

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