#3A2C92#3A2C92

#3A2C92 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.159 H 281.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3A2C92
RGBrgb(58, 44, 146)
HSLhsl(248, 54%, 37%)
HSVhsv(248, 70%, 57%)
CMYKcmyk(60.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(26.09, 36.18, -54.16)
CIE-LCHlch(26.09, 65.13, 303.74°)
OKLaboklab(37.83% 0.0328 -0.156)
OKLCHoklch(37.83% 0.159 281.9)
XYZxyz(7.8323, 4.7757, 27.6976)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C92 #84922C
analogous
#2C5192 #3A2C92 #6D2C92
triadic
#3A2C92 #923A2C #2C923A
tetradic
#3A2C92 #922C51 #84922C #2C926D
square
#3A2C92 #922C51 #84922C #2C926D
split-complementary
#3A2C92 #926D2C #51922C
monochromatic
#151034 #271E63 #3A2C92 #4D3AC1 #7667D1

Accessibility & contrast

On white

10.74
#3A2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C92
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C92#FFFFFF#000000##FFFFFF
##3A2C921.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2c92;
/* rgb */ color: rgb(58, 44, 146);
/* oklch */ color: oklch(37.8% 0.159 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a66b3',
    500: '#3a2c92',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c92;
$custom-light: #7a66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c92",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 248.235,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3783,
    "c": 0.15937,
    "h": 281.9
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#3A2C92
secondary
#ACB862
accent
#DD4BC9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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