#3A2FC6#3A2FC6

#3A2FC6 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.221 H 275.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC6
RGBrgb(58, 47, 198)
HSLhsl(244, 62%, 48%)
HSVhsv(244, 76%, 78%)
CMYKcmyk(70.7%, 76.3%, 0%, 22.4%)
CIE-LABlab(31.83, 51.14, -75.93)
CIE-LCHlch(31.83, 91.55, 303.96°)
OKLaboklab(43.45% 0.0204 -0.2196)
OKLCHoklch(43.45% 0.221 275.3)
XYZxyz(12.9511, 7.0085, 54.0854)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC6 #BBC62F
analogous
#2F6FC6 #3A2FC6 #852FC6
triadic
#3A2FC6 #C63A2F #2FC63A
tetradic
#3A2FC6 #C62F6F #BBC62F #2FC685
square
#3A2FC6 #C62F6F #BBC62F #2FC685
split-complementary
#3A2FC6 #C6852F #6FC62F
monochromatic
#1D1863 #2C2395 #3A2FC6 #635AD8 #928CE4

Accessibility & contrast

On white

8.74
#3A2FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A2FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FC6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC6#FFFFFF#000000##FFFFFF
##3A2FC61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2fc6;
/* rgb */ color: rgb(58, 47, 198);
/* oklch */ color: oklch(43.5% 0.221 275.3);
Tailwind
colors: {
  custom: {
    50: '#856bd9',
    500: '#3a2fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc6;
$custom-light: #856bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc6",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 244.371,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.2205,
    "h": 275.3
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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