#3A2ABA#3A2ABA

#3A2ABA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.211 H 277.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3A2ABA
RGBrgb(58, 42, 186)
HSLhsl(247, 63%, 45%)
HSVhsv(247, 77%, 73%)
CMYKcmyk(68.8%, 77.4%, 0%, 27.1%)
CIE-LABlab(29.66, 50.00, -72.44)
CIE-LCHlch(29.66, 88.02, 304.61°)
OKLaboklab(41.56% 0.0256 -0.2093)
OKLCHoklch(41.56% 0.211 277)
XYZxyz(11.4329, 6.0996, 47.0197)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ABA #AABA2A
analogous
#2A62BA #3A2ABA #822ABA
triadic
#3A2ABA #BA3A2A #2ABA3A
tetradic
#3A2ABA #BA2A62 #AABA2A #2ABA82
square
#3A2ABA #BA2A62 #AABA2A #2ABA82
split-complementary
#3A2ABA #BA822A #62BA2A
monochromatic
#1B1356 #2A1F88 #3A2ABA #5A4BD6 #887DE2

Accessibility & contrast

On white

9.46
#3A2ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ABA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ABA#FFFFFF#000000##FFFFFF
##3A2ABA1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2aba;
/* rgb */ color: rgb(58, 42, 186);
/* oklch */ color: oklch(41.6% 0.211 277.0);
Tailwind
colors: {
  custom: {
    50: '#8367d0',
    500: '#3a2aba',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aba;
$custom-light: #8367d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aba",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 246.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.21091,
    "h": 277
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#3A2ABA
secondary
#C1CA76
accent
#E642D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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