#3A2FC4#3A2FC4

#3A2FC4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.218 H 275.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC4
RGBrgb(58, 47, 196)
HSLhsl(244, 61%, 48%)
HSVhsv(244, 76%, 77%)
CMYKcmyk(70.4%, 76%, 0%, 23.1%)
CIE-LABlab(31.62, 50.52, -75.11)
CIE-LCHlch(31.62, 90.52, 303.93°)
OKLaboklab(43.25% 0.0208 -0.2172)
OKLCHoklch(43.25% 0.218 275.5)
XYZxyz(12.7220, 6.9169, 52.8785)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC4 #B9C42F
analogous
#2F6EC4 #3A2FC4 #852FC4
triadic
#3A2FC4 #C43A2F #2FC43A
tetradic
#3A2FC4 #C42F6E #B9C42F #2FC485
square
#3A2FC4 #C42F6E #B9C42F #2FC485
split-complementary
#3A2FC4 #C4852F #6EC42F
monochromatic
#1D1761 #2B2393 #3A2FC4 #6259D7 #918AE3

Accessibility & contrast

On white

8.81
#3A2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A2FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FC4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC4#FFFFFF#000000##FFFFFF
##3A2FC41.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a2fc4;
/* rgb */ color: rgb(58, 47, 196);
/* oklch */ color: oklch(43.2% 0.218 275.5);
Tailwind
colors: {
  custom: {
    50: '#856ad7',
    500: '#3a2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc4;
$custom-light: #856ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc4",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 244.43,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.21815,
    "h": 275.5
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#3A2FC4
secondary
#C7CD82
accent
#E443D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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