#4A3AAC#4A3AAC

#4A3AAC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.174 H 282.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4A3AAC
RGBrgb(74, 58, 172)
HSLhsl(248, 50%, 45%)
HSVhsv(248, 66%, 67%)
CMYKcmyk(57%, 66.3%, 0%, 32.5%)
CIE-LABlab(32.83, 38.82, -58.86)
CIE-LCHlch(32.83, 70.51, 303.41°)
OKLaboklab(43.74% 0.0388 -0.1692)
OKLCHoklch(43.74% 0.174 282.9)
XYZxyz(11.7812, 7.4598, 39.8408)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3AAC #9CAC3A
analogous
#3A63AC #4A3AAC #833AAC
triadic
#4A3AAC #AC4A3A #3AAC4A
tetradic
#4A3AAC #AC3A63 #9CAC3A #3AAC83
square
#4A3AAC #AC3A63 #9CAC3A #3AAC83
split-complementary
#4A3AAC #AC833A #63AC3A
monochromatic
#231B50 #362B7E #4A3AAC #6B5BC8 #9489D7

Accessibility & contrast

On white

8.43
#4A3AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A3AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3AAC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3AAC#FFFFFF#000000##FFFFFF
##4A3AAC1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#18576E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a3aac;
/* rgb */ color: rgb(74, 58, 172);
/* oklch */ color: oklch(43.7% 0.174 282.9);
Tailwind
colors: {
  custom: {
    50: '#8671c6',
    500: '#4a3aac',
    950: '#000000',
  },
}
SCSS
$custom: #4a3aac;
$custom-light: #8671c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3aac",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 248.421,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.17363,
    "h": 282.9
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#4A3AAC
secondary
#B8C280
accent
#D94FC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A3AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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