#3A2CCD#3A2CCD

#3A2CCD is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.8% C 0.231 H 275.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3A2CCD
RGBrgb(58, 44, 205)
HSLhsl(245, 65%, 49%)
HSVhsv(245, 79%, 80%)
CMYKcmyk(71.7%, 78.5%, 0%, 19.6%)
CIE-LABlab(32.05, 54.80, -79.65)
CIE-LCHlch(32.05, 96.68, 304.53°)
OKLaboklab(43.83% 0.02 -0.2303)
OKLCHoklch(43.83% 0.231 275)
XYZxyz(13.6614, 7.1073, 58.3977)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CCD #BFCD2C
analogous
#2C6FCD #3A2CCD #8B2CCD
triadic
#3A2CCD #CD3A2C #2CCD3A
tetradic
#3A2CCD #CD2C6F #BFCD2C #2CCD8B
square
#3A2CCD #CD2C6F #BFCD2C #2CCD8B
split-complementary
#3A2CCD #CD8B2C #6FCD2C
monochromatic
#1D1668 #2C219B #3A2CCD #665BDC #958DE7

Accessibility & contrast

On white

8.67
#3A2CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A2CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CCD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CCD#FFFFFF#000000##FFFFFF
##3A2CCD1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D1
Deuteranopia (green-blind)
#0044CA
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2ccd;
/* rgb */ color: rgb(58, 44, 205);
/* oklch */ color: oklch(43.8% 0.231 275.0);
Tailwind
colors: {
  custom: {
    50: '#8769de',
    500: '#3a2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ccd;
$custom-light: #8769de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ccd",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 245.217,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.2312,
    "h": 275
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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