#4A3EAE#4A3EAE

#4A3EAE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.171 H 281.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4A3EAE
RGBrgb(74, 62, 174)
HSLhsl(246, 47%, 46%)
HSVhsv(246, 64%, 68%)
CMYKcmyk(57.5%, 64.4%, 0%, 31.8%)
CIE-LABlab(33.89, 37.06, -58.32)
CIE-LCHlch(33.89, 69.10, 302.43°)
OKLaboklab(44.57% 0.0349 -0.1677)
OKLCHoklch(44.57% 0.171 281.7)
XYZxyz(12.1843, 7.9563, 40.9299)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3EAE #A2AE3E
analogous
#3E6AAE #4A3EAE #823EAE
triadic
#4A3EAE #AE4A3E #3EAE4A
tetradic
#4A3EAE #AE3E6A #A2AE3E #3EAE82
square
#4A3EAE #AE3E6A #A2AE3E #3EAE82
split-complementary
#4A3EAE #AE823E #6AAE3E
monochromatic
#241E54 #372E81 #4A3EAE #6D62C7 #978FD7

Accessibility & contrast

On white

8.10
#4A3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4A3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3EAE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3EAE#FFFFFF#000000##FFFFFF
##4A3EAE1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#135A70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a3eae;
/* rgb */ color: rgb(74, 62, 174);
/* oklch */ color: oklch(44.6% 0.171 281.7);
Tailwind
colors: {
  custom: {
    50: '#8674c7',
    500: '#4a3eae',
    950: '#000000',
  },
}
SCSS
$custom: #4a3eae;
$custom-light: #8674c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3eae",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 246.429,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.17125,
    "h": 281.7
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#4A3EAE
secondary
#BCC286
accent
#D751C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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