#3A2AAB#3A2AAB

#3A2AAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.193 H 278.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAB
RGBrgb(58, 42, 171)
HSLhsl(247, 61%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(66.1%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.10, 45.33, -66.07)
CIE-LCHlch(28.10, 80.13, 304.45°)
OKLaboklab(40% 0.0292 -0.1908)
OKLCHoklch(40% 0.193 278.7)
XYZxyz(9.9212, 5.4949, 39.0580)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAB #9BAB2A
analogous
#2A5BAB #3A2AAB #7B2AAB
triadic
#3A2AAB #AB3A2A #2AAB3A
tetradic
#3A2AAB #AB2A5B #9BAB2A #2AAB7B
square
#3A2AAB #AB2A5B #9BAB2A #2AAB7B
split-complementary
#3A2AAB #AB7B2A #5BAB2A
monochromatic
#191249 #291E7A #3A2AAB #5342D1 #8073DD

Accessibility & contrast

On white

10.00
#3A2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A2AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAB
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAB#FFFFFF#000000##FFFFFF
##3A2AAB1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2aab;
/* rgb */ color: rgb(58, 42, 171);
/* oklch */ color: oklch(40.0% 0.193 278.7);
Tailwind
colors: {
  custom: {
    50: '#8066c5',
    500: '#3a2aab',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aab;
$custom-light: #8066c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aab",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 247.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.19301,
    "h": 278.7
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#3A2AAB
secondary
#B9C46D
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

#3A2AAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva