#3A2AAA#3A2AAA

#3A2AAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.192 H 278.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAA
RGBrgb(58, 42, 170)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(65.9%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.00, 45.02, -65.64)
CIE-LCHlch(28.00, 79.59, 304.44°)
OKLaboklab(39.9% 0.0294 -0.1895)
OKLCHoklch(39.9% 0.192 278.8)
XYZxyz(9.8263, 5.4569, 38.5579)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAA #9AAA2A
analogous
#2A5AAA #3A2AAA #7A2AAA
triadic
#3A2AAA #AA3A2A #2AAA3A
tetradic
#3A2AAA #AA2A5A #9AAA2A #2AAA7A
square
#3A2AAA #AA2A5A #9AAA2A #2AAA7A
split-complementary
#3A2AAA #AA7A2A #5AAA2A
monochromatic
#191248 #291E79 #3A2AAA #5341D0 #7F72DC

Accessibility & contrast

On white

10.04
#3A2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAA
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAA#FFFFFF#000000##FFFFFF
##3A2AAA1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2aaa;
/* rgb */ color: rgb(58, 42, 170);
/* oklch */ color: oklch(39.9% 0.192 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f66c4',
    500: '#3a2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aaa;
$custom-light: #7f66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aaa",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 247.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.19179,
    "h": 278.8
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#3A2AAA
secondary
#B9C36C
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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