#3A2FC3#3A2FC3

#3A2FC3 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.217 H 275.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3A2FC3
RGBrgb(58, 47, 195)
HSLhsl(244, 61%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(70.3%, 75.9%, 0%, 23.5%)
CIE-LABlab(31.51, 50.21, -74.69)
CIE-LCHlch(31.51, 90.00, 303.91°)
OKLaboklab(43.14% 0.021 -0.216)
OKLCHoklch(43.14% 0.217 275.6)
XYZxyz(12.6085, 6.8715, 52.2810)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FC3 #B8C32F
analogous
#2F6EC3 #3A2FC3 #842FC3
triadic
#3A2FC3 #C33A2F #2FC33A
tetradic
#3A2FC3 #C32F6E #B8C32F #2FC384
square
#3A2FC3 #C32F6E #B8C32F #2FC384
split-complementary
#3A2FC3 #C3842F #6EC32F
monochromatic
#1D1760 #2B2392 #3A2FC3 #6258D7 #908AE3

Accessibility & contrast

On white

8.84
#3A2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2FC3
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FC3#FFFFFF#000000##FFFFFF
##3A2FC31.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a2fc3;
/* rgb */ color: rgb(58, 47, 195);
/* oklch */ color: oklch(43.1% 0.217 275.6);
Tailwind
colors: {
  custom: {
    50: '#846ad7',
    500: '#3a2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fc3;
$custom-light: #846ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fc3",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 244.459,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.21698,
    "h": 275.6
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#3A2FC3
secondary
#C7CD81
accent
#E444D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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