#3A2FC5#3A2FC5

#3A2FC5 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.219 H 275.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC5
RGBrgb(58, 47, 197)
HSLhsl(244, 61%, 48%)
HSVhsv(244, 76%, 77%)
CMYKcmyk(70.6%, 76.1%, 0%, 22.7%)
CIE-LABlab(31.72, 50.83, -75.52)
CIE-LCHlch(31.72, 91.03, 303.94°)
OKLaboklab(43.35% 0.0206 -0.2184)
OKLCHoklch(43.35% 0.219 275.4)
XYZxyz(12.8362, 6.9626, 53.4799)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC5 #BAC52F
analogous
#2F6FC5 #3A2FC5 #852FC5
triadic
#3A2FC5 #C53A2F #2FC53A
tetradic
#3A2FC5 #C52F6F #BAC52F #2FC585
square
#3A2FC5 #C52F6F #BAC52F #2FC585
split-complementary
#3A2FC5 #C5852F #6FC52F
monochromatic
#1D1762 #2B2394 #3A2FC5 #635AD8 #928BE3

Accessibility & contrast

On white

8.78
#3A2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A2FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FC5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC5#FFFFFF#000000##FFFFFF
##3A2FC51.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2fc5;
/* rgb */ color: rgb(58, 47, 197);
/* oklch */ color: oklch(43.4% 0.219 275.4);
Tailwind
colors: {
  custom: {
    50: '#856ad8',
    500: '#3a2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc5;
$custom-light: #856ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc5",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 244.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.21933,
    "h": 275.4
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#3A2FC5
secondary
#C8CD82
accent
#E543D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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