#3A2CA3#3A2CA3

#3A2CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.181 H 279.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA3
RGBrgb(58, 44, 163)
HSLhsl(247, 57%, 41%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(64.4%, 73%, 0%, 36.1%)
CIE-LABlab(27.69, 41.69, -61.91)
CIE-LCHlch(27.69, 74.64, 303.95°)
OKLaboklab(39.47% 0.0296 -0.1787)
OKLCHoklch(39.47% 0.181 279.4)
XYZxyz(9.2544, 5.3445, 35.1871)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA3 #95A32C
analogous
#2C59A3 #3A2CA3 #752CA3
triadic
#3A2CA3 #A33A2C #2CA33A
tetradic
#3A2CA3 #A32C59 #95A32C #2CA375
square
#3A2CA3 #A32C59 #95A32C #2CA375
split-complementary
#3A2CA3 #A3752C #59A32C
monochromatic
#181243 #291F73 #3A2CA3 #5141CC #7D71D9

Accessibility & contrast

On white

10.15
#3A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA3
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA3#FFFFFF#000000##FFFFFF
##3A2CA31.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2ca3;
/* rgb */ color: rgb(58, 44, 163);
/* oklch */ color: oklch(39.5% 0.181 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e67bf',
    500: '#3a2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca3;
$custom-light: #7e67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca3",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 247.059,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.1811,
    "h": 279.4
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#3A2CA3
secondary
#B6C06B
accent
#E147CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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