#3A2CCE#3A2CCE

#3A2CCE is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.232 H 274.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3A2CCE
RGBrgb(58, 44, 206)
HSLhsl(245, 65%, 49%)
HSVhsv(245, 79%, 81%)
CMYKcmyk(71.8%, 78.6%, 0%, 19.2%)
CIE-LABlab(32.16, 55.10, -80.05)
CIE-LCHlch(32.16, 97.18, 304.54°)
OKLaboklab(43.94% 0.0198 -0.2315)
OKLCHoklch(43.94% 0.232 274.9)
XYZxyz(13.7825, 7.1558, 59.0354)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CCE #C0CE2C
analogous
#2C6FCE #3A2CCE #8B2CCE
triadic
#3A2CCE #CE3A2C #2CCE3A
tetradic
#3A2CCE #CE2C6F #C0CE2C #2CCE8B
square
#3A2CCE #CE2C6F #C0CE2C #2CCE8B
split-complementary
#3A2CCE #CE8B2C #6FCE2C
monochromatic
#1E1669 #2C219C #3A2CCE #665BDC #958EE7

Accessibility & contrast

On white

8.64
#3A2CCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A2CCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CCE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CCE#FFFFFF#000000##FFFFFF
##3A2CCE1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D2
Deuteranopia (green-blind)
#0044CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a2cce;
/* rgb */ color: rgb(58, 44, 206);
/* oklch */ color: oklch(43.9% 0.232 274.9);
Tailwind
colors: {
  custom: {
    50: '#8769de',
    500: '#3a2cce',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cce;
$custom-light: #8769de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cce",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 206
  },
  "hsl": {
    "h": 245.185,
    "s": 64.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43939,
    "c": 0.23235,
    "h": 274.9
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#3A2CCE
secondary
#CAD185
accent
#E840D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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