#3A2C96#3A2C96

#3A2C96 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.165 H 281.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3A2C96
RGBrgb(58, 44, 150)
HSLhsl(248, 55%, 38%)
HSVhsv(248, 71%, 59%)
CMYKcmyk(61.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(26.45, 37.48, -56.02)
CIE-LCHlch(26.45, 67.40, 303.78°)
OKLaboklab(38.21% 0.0321 -0.1614)
OKLCHoklch(38.21% 0.165 281.2)
XYZxyz(8.1489, 4.9023, 29.3651)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C96 #88962C
analogous
#2C5396 #3A2C96 #6F2C96
triadic
#3A2C96 #963A2C #2C963A
tetradic
#3A2C96 #962C53 #88962C #2C966F
square
#3A2C96 #962C53 #88962C #2C966F
split-complementary
#3A2C96 #966F2C #53962C
monochromatic
#151037 #281E67 #3A2C96 #4C3AC5 #7769D3

Accessibility & contrast

On white

10.60
#3A2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C96
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C96#FFFFFF#000000##FFFFFF
##3A2C961.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a2c96;
/* rgb */ color: rgb(58, 44, 150);
/* oklch */ color: oklch(38.2% 0.165 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b67b6',
    500: '#3a2c96',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c96;
$custom-light: #7b67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c96",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 247.925,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.16458,
    "h": 281.2
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#3A2C96
secondary
#AEBA64
accent
#DE4ACA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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