#3D32A3#3D32A3

#3D32A3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.174 H 279.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3D32A3
RGBrgb(61, 50, 163)
HSLhsl(246, 53%, 42%)
HSVhsv(246, 69%, 64%)
CMYKcmyk(62.6%, 69.3%, 0%, 36.1%)
CIE-LABlab(29.20, 38.61, -59.43)
CIE-LCHlch(29.20, 70.87, 303.01°)
OKLaboklab(40.61% 0.0293 -0.1713)
OKLCHoklch(40.61% 0.174 279.7)
XYZxyz(9.6738, 5.9169, 35.2755)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D32A3 #98A332
analogous
#3260A3 #3D32A3 #7632A3
triadic
#3D32A3 #A33D32 #32A33D
tetradic
#3D32A3 #A33260 #98A332 #32A376
square
#3D32A3 #A33260 #98A332 #32A376
split-complementary
#3D32A3 #A37632 #60A332
monochromatic
#1A1545 #2B2474 #3D32A3 #574BC8 #8279D6

Accessibility & contrast

On white

9.62
#3D32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3D32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D32A3
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D32A3#FFFFFF#000000##FFFFFF
##3D32A31.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d32a3;
/* rgb */ color: rgb(61, 50, 163);
/* oklch */ color: oklch(40.6% 0.174 279.7);
Tailwind
colors: {
  custom: {
    50: '#7f6bbf',
    500: '#3d32a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d32a3;
$custom-light: #7f6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d32a3",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 245.841,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.1738,
    "h": 279.7
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#3D32A3
secondary
#B7BF72
accent
#DC4BCE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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