#4A3497#4A3497

#4A3497 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.154 H 287.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4A3497
RGBrgb(74, 52, 151)
HSLhsl(253, 49%, 40%)
HSVhsv(253, 66%, 59%)
CMYKcmyk(51%, 65.6%, 0%, 40.8%)
CIE-LABlab(29.78, 35.83, -51.14)
CIE-LCHlch(29.78, 62.45, 305.01°)
OKLaboklab(40.99% 0.0472 -0.1466)
OKLCHoklch(40.99% 0.154 287.8)
XYZxyz(9.6363, 6.1458, 29.9507)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3497 #819734
analogous
#345097 #4A3497 #7B3497
triadic
#4A3497 #974A34 #34974A
tetradic
#4A3497 #973450 #819734 #34977B
square
#4A3497 #973450 #819734 #34977B
split-complementary
#4A3497 #977B34 #509734
monochromatic
#1D153C #342469 #4A3497 #6348C0 #8A76D0

Accessibility & contrast

On white

9.42
#4A3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4A3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3497
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3497#FFFFFF#000000##FFFFFF
##4A34971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#2F4C60
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a3497;
/* rgb */ color: rgb(74, 52, 151);
/* oklch */ color: oklch(41.0% 0.154 287.8);
Tailwind
colors: {
  custom: {
    50: '#846db6',
    500: '#4a3497',
    950: '#000000',
  },
}
SCSS
$custom: #4a3497;
$custom-light: #846db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3497",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 253.333,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.15399,
    "h": 287.8
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#4A3497
secondary
#A8B86F
accent
#D84FBA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4A3497

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

Preview Lab → · Contrast checker → · Palette generator →

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