#4A3D8A#4A3D8A

#4A3D8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.5% C 0.123 H 287.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4A3D8A
RGBrgb(74, 61, 138)
HSLhsl(250, 39%, 39%)
HSVhsv(250, 56%, 54%)
CMYKcmyk(46.4%, 55.8%, 0%, 45.9%)
CIE-LABlab(30.94, 26.21, -41.27)
CIE-LCHlch(30.94, 48.89, 302.42°)
OKLaboklab(41.54% 0.0372 -0.1175)
OKLCHoklch(41.54% 0.123 287.5)
XYZxyz(9.0789, 6.6280, 24.8408)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3D8A #7D8A3D
analogous
#3D578A #4A3D8A #713D8A
triadic
#4A3D8A #8A4A3D #3D8A4A
tetradic
#4A3D8A #8A3D57 #7D8A3D #3D8A71
square
#4A3D8A #8A3D57 #7D8A3D #3D8A71
split-complementary
#4A3D8A #8A713D #578A3D
monochromatic
#1C1735 #332A60 #4A3D8A #6252B2 #897CC5

Accessibility & contrast

On white

9.03
#4A3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3D8A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3D8A#FFFFFF#000000##FFFFFF
##4A3D8A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#364E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a3d8a;
/* rgb */ color: rgb(74, 61, 138);
/* oklch */ color: oklch(41.5% 0.123 287.5);
Tailwind
colors: {
  custom: {
    50: '#8173ad',
    500: '#4a3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a3d8a;
$custom-light: #8173ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3d8a",
  "rgb": {
    "r": 74,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 250.13,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.12325,
    "h": 287.5
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#4A3D8A
secondary
#A5AF74
accent
#CF59BB
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4A3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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