#3A2DC2#3A2DC2

#3A2DC2 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.218 H 275.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3A2DC2
RGBrgb(58, 45, 194)
HSLhsl(245, 62%, 47%)
HSVhsv(245, 77%, 76%)
CMYKcmyk(70.1%, 76.8%, 0%, 23.9%)
CIE-LABlab(31.04, 50.93, -74.88)
CIE-LCHlch(31.04, 90.56, 304.22°)
OKLaboklab(42.78% 0.0222 -0.2165)
OKLCHoklch(42.78% 0.218 275.9)
XYZxyz(12.4177, 6.6702, 51.6615)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DC2 #B5C22D
analogous
#2D6BC2 #3A2DC2 #852DC2
triadic
#3A2DC2 #C23A2D #2DC23A
tetradic
#3A2DC2 #C22D6B #B5C22D #2DC285
square
#3A2DC2 #C22D6B #B5C22D #2DC285
split-complementary
#3A2DC2 #C2852D #6BC22D
monochromatic
#1C165F #2B2190 #3A2DC2 #6055D7 #8E86E3

Accessibility & contrast

On white

9.00
#3A2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A2DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DC2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DC2#FFFFFF#000000##FFFFFF
##3A2DC21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC6
Deuteranopia (green-blind)
#0042BF
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2dc2;
/* rgb */ color: rgb(58, 45, 194);
/* oklch */ color: oklch(42.8% 0.218 275.9);
Tailwind
colors: {
  custom: {
    50: '#8469d6',
    500: '#3a2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dc2;
$custom-light: #8469d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dc2",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 245.235,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.21762,
    "h": 275.9
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#3A2DC2
secondary
#C6CD7E
accent
#E542D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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