#3D2C97#3D2C97

#3D2C97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.165 H 282.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3D2C97
RGBrgb(61, 44, 151)
HSLhsl(250, 55%, 38%)
HSVhsv(250, 71%, 59%)
CMYKcmyk(59.6%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.81, 38.26, -56.04)
CIE-LCHlch(26.81, 67.85, 304.32°)
OKLaboklab(38.56% 0.0362 -0.1614)
OKLCHoklch(38.56% 0.165 282.6)
XYZxyz(8.4093, 5.0273, 29.7994)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C97 #86972C
analogous
#2C5097 #3D2C97 #722C97
triadic
#3D2C97 #973D2C #2C973D
tetradic
#3D2C97 #972C50 #86972C #2C9772
square
#3D2C97 #972C50 #86972C #2C9772
split-complementary
#3D2C97 #97722C #50972C
monochromatic
#171038 #2A1E68 #3D2C97 #513AC6 #7B6AD4

Accessibility & contrast

On white

10.47
#3D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C97
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C97#FFFFFF#000000##FFFFFF
##3D2C971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#04485E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2c97;
/* rgb */ color: rgb(61, 44, 151);
/* oklch */ color: oklch(38.6% 0.165 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d67b7',
    500: '#3d2c97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c97;
$custom-light: #7d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c97",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 249.533,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.16537,
    "h": 282.6
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#3D2C97
secondary
#ADBA65
accent
#DE4AC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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