#4A3A97#4A3A97

#4A3A97 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.146 H 286.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4A3A97
RGBrgb(74, 58, 151)
HSLhsl(250, 44%, 41%)
HSVhsv(250, 62%, 59%)
CMYKcmyk(51%, 61.6%, 0%, 40.8%)
CIE-LABlab(31.15, 32.19, -48.91)
CIE-LCHlch(31.15, 58.55, 303.35°)
OKLaboklab(42% 0.0406 -0.14)
OKLCHoklch(42% 0.146 286.2)
XYZxyz(9.9214, 6.7158, 30.0457)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3A97 #87973A
analogous
#3A5897 #4A3A97 #783A97
triadic
#4A3A97 #974A3A #3A974A
tetradic
#4A3A97 #973A58 #87973A #3A9778
square
#4A3A97 #973A58 #87973A #3A9778
split-complementary
#4A3A97 #97783A #58973A
monochromatic
#1F183F #34296B #4A3A97 #6452BC #8C7ECD

Accessibility & contrast

On white

8.96
#4A3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A3A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3A97
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3A97#FFFFFF#000000##FFFFFF
##4A3A971.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#2E5063
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a3a97;
/* rgb */ color: rgb(74, 58, 151);
/* oklch */ color: oklch(42.0% 0.146 286.2);
Tailwind
colors: {
  custom: {
    50: '#8371b6',
    500: '#4a3a97',
    950: '#000000',
  },
}
SCSS
$custom: #4a3a97;
$custom-light: #8371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3a97",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 250.323,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.1458,
    "h": 286.2
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#4A3A97
secondary
#ACB776
accent
#D454BE
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4A3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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