#3A2FC9#3A2FC9

#3A2FC9 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.8% C 0.224 H 275.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC9
RGBrgb(58, 47, 201)
HSLhsl(244, 62%, 49%)
HSVhsv(244, 77%, 79%)
CMYKcmyk(71.1%, 76.6%, 0%, 21.2%)
CIE-LABlab(32.14, 52.08, -77.17)
CIE-LCHlch(32.14, 93.09, 304.01°)
OKLaboklab(43.77% 0.0197 -0.2231)
OKLCHoklch(43.77% 0.224 275)
XYZxyz(13.3006, 7.1483, 55.9258)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC9 #BEC92F
analogous
#2F71C9 #3A2FC9 #872FC9
triadic
#3A2FC9 #C93A2F #2FC93A
tetradic
#3A2FC9 #C92F71 #BEC92F #2FC987
square
#3A2FC9 #C92F71 #BEC92F #2FC987
split-complementary
#3A2FC9 #C9872F #71C92F
monochromatic
#1D1866 #2C2397 #3A2FC9 #655CD9 #948EE5

Accessibility & contrast

On white

8.64
#3A2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FC9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC9#FFFFFF#000000##FFFFFF
##3A2FC91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a2fc9;
/* rgb */ color: rgb(58, 47, 201);
/* oklch */ color: oklch(43.8% 0.224 275.0);
Tailwind
colors: {
  custom: {
    50: '#866bdb',
    500: '#3a2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc9;
$custom-light: #866bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc9",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 244.286,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.22402,
    "h": 275
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#3A2FC9
secondary
#CACF85
accent
#E543DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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