#3A2DCA#3A2DCA

#3A2DCA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.6% C 0.227 H 275.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A2DCA
RGBrgb(58, 45, 202)
HSLhsl(245, 64%, 48%)
HSVhsv(245, 78%, 79%)
CMYKcmyk(71.3%, 77.7%, 0%, 20.8%)
CIE-LABlab(31.90, 53.40, -78.16)
CIE-LCHlch(31.90, 94.66, 304.34°)
OKLaboklab(43.63% 0.0204 -0.226)
OKLCHoklch(43.63% 0.227 275.1)
XYZxyz(13.3405, 7.0393, 56.5213)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DCA #BDCA2D
analogous
#2D6ECA #3A2DCA #882DCA
triadic
#3A2DCA #CA3A2D #2DCA3A
tetradic
#3A2DCA #CA2D6E #BDCA2D #2DCA88
square
#3A2DCA #CA2D6E #BDCA2D #2DCA88
split-complementary
#3A2DCA #CA882D #6ECA2D
monochromatic
#1D1766 #2C2298 #3A2DCA #655ADA #938CE5

Accessibility & contrast

On white

8.72
#3A2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DCA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DCA#FFFFFF#000000##FFFFFF
##3A2DCA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2dca;
/* rgb */ color: rgb(58, 45, 202);
/* oklch */ color: oklch(43.6% 0.227 275.1);
Tailwind
colors: {
  custom: {
    50: '#866adc',
    500: '#3a2dca',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dca;
$custom-light: #866adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dca",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 244.968,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.22691,
    "h": 275.1
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#3A2DCA
secondary
#C9CF83
accent
#E741D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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