#4A3D89#4A3D89

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

Color values

HEX#4A3D89
RGBrgb(74, 61, 137)
HSLhsl(250, 38%, 39%)
HSVhsv(250, 55%, 54%)
CMYKcmyk(46%, 55.5%, 0%, 46.3%)
CIE-LABlab(30.88, 25.90, -40.76)
CIE-LCHlch(30.88, 48.29, 302.43°)
OKLaboklab(41.47% 0.0371 -0.116)
OKLCHoklch(41.47% 0.122 287.7)
XYZxyz(9.0069, 6.5991, 24.4612)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3D89 #7C893D
analogous
#3D5689 #4A3D89 #703D89
triadic
#4A3D89 #894A3D #3D894A
tetradic
#4A3D89 #893D56 #7C893D #3D8970
square
#4A3D89 #893D56 #7C893D #3D8970
split-complementary
#4A3D89 #89703D #56893D
monochromatic
#1C1734 #332A5F #4A3D89 #6251B2 #887CC5

Accessibility & contrast

On white

9.05
#4A3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4A3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3D89
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3D89#FFFFFF#000000##FFFFFF
##4A3D891.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8C
Deuteranopia (green-blind)
#164787
Tritanopia (blue-blind)
#374D5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a3d89;
/* rgb */ color: rgb(74, 61, 137);
/* oklch */ color: oklch(41.5% 0.122 287.7);
Tailwind
colors: {
  custom: {
    50: '#8173ac',
    500: '#4a3d89',
    950: '#000000',
  },
}
SCSS
$custom: #4a3d89;
$custom-light: #8173ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3d89",
  "rgb": {
    "r": 74,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 250.263,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.12182,
    "h": 287.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#4A3D89
secondary
#A4AE73
accent
#CE59BA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4A3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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