#4A3AAA#4A3AAA

#4A3AAA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.171 H 283.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4A3AAA
RGBrgb(74, 58, 170)
HSLhsl(249, 49%, 45%)
HSVhsv(249, 66%, 67%)
CMYKcmyk(56.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(32.66, 38.19, -57.93)
CIE-LCHlch(32.66, 69.39, 303.39°)
OKLaboklab(43.57% 0.039 -0.1665)
OKLCHoklch(43.57% 0.171 283.2)
XYZxyz(11.5906, 7.3835, 38.8368)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3AAA #9AAA3A
analogous
#3A62AA #4A3AAA #823AAA
triadic
#4A3AAA #AA4A3A #3AAA4A
tetradic
#4A3AAA #AA3A62 #9AAA3A #3AAA82
square
#4A3AAA #AA3A62 #9AAA3A #3AAA82
split-complementary
#4A3AAA #AA823A #62AA3A
monochromatic
#221B4F #362A7C #4A3AAA #6A5AC7 #9388D6

Accessibility & contrast

On white

8.48
#4A3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3AAA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3AAA#FFFFFF#000000##FFFFFF
##4A3AAA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#1B566D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a3aaa;
/* rgb */ color: rgb(74, 58, 170);
/* oklch */ color: oklch(43.6% 0.171 283.2);
Tailwind
colors: {
  custom: {
    50: '#8671c4',
    500: '#4a3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4a3aaa;
$custom-light: #8671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3aaa",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 248.571,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43571,
    "c": 0.17104,
    "h": 283.2
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#4A3AAA
secondary
#B7C17F
accent
#D94FC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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