#3A32C3#3A32C3

#3A32C3 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.214 H 275.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A32C3
RGBrgb(58, 50, 195)
HSLhsl(243, 59%, 48%)
HSVhsv(243, 74%, 76%)
CMYKcmyk(70.3%, 74.4%, 0%, 23.5%)
CIE-LABlab(32.08, 48.60, -73.76)
CIE-LCHlch(32.08, 88.33, 303.38°)
OKLaboklab(43.54% 0.0195 -0.2133)
OKLCHoklch(43.54% 0.214 275.2)
XYZxyz(12.7326, 7.1197, 52.3224)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32C3 #BBC332
analogous
#3273C3 #3A32C3 #8232C3
triadic
#3A32C3 #C33A32 #32C33A
tetradic
#3A32C3 #C33273 #BBC332 #32C382
square
#3A32C3 #C33273 #BBC332 #32C382
split-complementary
#3A32C3 #C38232 #73C332
monochromatic
#1D1962 #2C2692 #3A32C3 #635DD5 #928EE2

Accessibility & contrast

On white

8.66
#3A32C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A32C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32C3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32C3#FFFFFF#000000##FFFFFF
##3A32C31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0045C0
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a32c3;
/* rgb */ color: rgb(58, 50, 195);
/* oklch */ color: oklch(43.5% 0.214 275.2);
Tailwind
colors: {
  custom: {
    50: '#846cd6',
    500: '#3a32c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a32c3;
$custom-light: #846cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32c3",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 243.31,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.21415,
    "h": 275.2
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#3A32C3
secondary
#C8CC85
accent
#E245DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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