#3A2FC2#3A2FC2

#3A2FC2 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.216 H 275.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC2
RGBrgb(58, 47, 194)
HSLhsl(244, 61%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(70.1%, 75.8%, 0%, 23.9%)
CIE-LABlab(31.41, 49.89, -74.28)
CIE-LCHlch(31.41, 89.48, 303.89°)
OKLaboklab(43.04% 0.0213 -0.2147)
OKLCHoklch(43.04% 0.216 275.7)
XYZxyz(12.4958, 6.8264, 51.6876)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC2 #B7C22F
analogous
#2F6DC2 #3A2FC2 #842FC2
triadic
#3A2FC2 #C23A2F #2FC23A
tetradic
#3A2FC2 #C22F6D #B7C22F #2FC284
square
#3A2FC2 #C22F6D #B7C22F #2FC284
split-complementary
#3A2FC2 #C2842F #6DC22F
monochromatic
#1D175F #2B2391 #3A2FC2 #6158D6 #9089E2

Accessibility & contrast

On white

8.88
#3A2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A2FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FC2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC2#FFFFFF#000000##FFFFFF
##3A2FC21.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0043BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a2fc2;
/* rgb */ color: rgb(58, 47, 194);
/* oklch */ color: oklch(43.0% 0.216 275.7);
Tailwind
colors: {
  custom: {
    50: '#846ad6',
    500: '#3a2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc2;
$custom-light: #846ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc2",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 244.49,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.2158,
    "h": 275.7
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#3A2FC2
secondary
#C7CC81
accent
#E444D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3A2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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