#3E32C3#3E32C3

#3E32C3 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.213 H 276.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3E32C3
RGBrgb(62, 50, 195)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(68.2%, 74.4%, 0%, 23.5%)
CIE-LABlab(32.36, 49.01, -73.29)
CIE-LCHlch(32.36, 88.17, 303.77°)
OKLaboklab(43.81% 0.0246 -0.2118)
OKLCHoklch(43.81% 0.213 276.6)
XYZxyz(12.9743, 7.2443, 52.3337)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32C3 #B7C332
analogous
#326EC3 #3E32C3 #8732C3
triadic
#3E32C3 #C33E32 #32C33E
tetradic
#3E32C3 #C3326E #B7C332 #32C387
square
#3E32C3 #C3326E #B7C332 #32C387
split-complementary
#3E32C3 #C38732 #6EC332
monochromatic
#1F1962 #2F2692 #3E32C3 #675DD5 #948EE2

Accessibility & contrast

On white

8.57
#3E32C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E32C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32C3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32C3#FFFFFF#000000##FFFFFF
##3E32C31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e32c3;
/* rgb */ color: rgb(62, 50, 195);
/* oklch */ color: oklch(43.8% 0.213 276.6);
Tailwind
colors: {
  custom: {
    50: '#866cd6',
    500: '#3e32c3',
    950: '#000000',
  },
}
SCSS
$custom: #3e32c3;
$custom-light: #866cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32c3",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 244.966,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.21323,
    "h": 276.6
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#3E32C3
secondary
#C6CC85
accent
#E245D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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