#3A2CA1#3A2CA1

#3A2CA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.179 H 279.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA1
RGBrgb(58, 44, 161)
HSLhsl(247, 57%, 40%)
HSVhsv(247, 73%, 63%)
CMYKcmyk(64%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.50, 41.04, -61.02)
CIE-LCHlch(27.50, 73.54, 303.92°)
OKLaboklab(39.27% 0.03 -0.1761)
OKLCHoklch(39.27% 0.179 279.7)
XYZxyz(9.0766, 5.2734, 34.2509)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA1 #93A12C
analogous
#2C59A1 #3A2CA1 #742CA1
triadic
#3A2CA1 #A13A2C #2CA13A
tetradic
#3A2CA1 #A12C59 #93A12C #2CA174
square
#3A2CA1 #A12C59 #93A12C #2CA174
split-complementary
#3A2CA1 #A1742C #59A12C
monochromatic
#171241 #291F71 #3A2CA1 #5040CB #7C70D8

Accessibility & contrast

On white

10.22
#3A2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA1
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA1#FFFFFF#000000##FFFFFF
##3A2CA11.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2ca1;
/* rgb */ color: rgb(58, 44, 161);
/* oklch */ color: oklch(39.3% 0.179 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d67be',
    500: '#3a2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca1;
$custom-light: #7d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca1",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 247.179,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.17859,
    "h": 279.7
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#3A2CA1
secondary
#B5BF6A
accent
#E047CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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