#3A2CA2#3A2CA2

#3A2CA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.180 H 279.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA2
RGBrgb(58, 44, 162)
HSLhsl(247, 57%, 40%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(64.2%, 72.8%, 0%, 36.5%)
CIE-LABlab(27.60, 41.36, -61.47)
CIE-LCHlch(27.60, 74.09, 303.94°)
OKLaboklab(39.37% 0.0298 -0.1774)
OKLCHoklch(39.37% 0.18 279.5)
XYZxyz(9.1651, 5.3088, 34.7171)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA2 #94A22C
analogous
#2C59A2 #3A2CA2 #752CA2
triadic
#3A2CA2 #A23A2C #2CA23A
tetradic
#3A2CA2 #A22C59 #94A22C #2CA275
square
#3A2CA2 #A22C59 #94A22C #2CA275
split-complementary
#3A2CA2 #A2752C #59A22C
monochromatic
#181242 #291F72 #3A2CA2 #5140CB #7D70D8

Accessibility & contrast

On white

10.18
#3A2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA2
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA2#FFFFFF#000000##FFFFFF
##3A2CA21.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2ca2;
/* rgb */ color: rgb(58, 44, 162);
/* oklch */ color: oklch(39.4% 0.180 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e67bf',
    500: '#3a2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca2;
$custom-light: #7e67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca2",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 247.119,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.17985,
    "h": 279.5
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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