#3D2F97#3D2F97

#3D2F97 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.162 H 282.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3D2F97
RGBrgb(61, 47, 151)
HSLhsl(248, 53%, 39%)
HSVhsv(248, 69%, 59%)
CMYKcmyk(59.6%, 68.9%, 0%, 40.8%)
CIE-LABlab(27.46, 36.49, -54.98)
CIE-LCHlch(27.46, 65.98, 303.57°)
OKLaboklab(39.02% 0.0336 -0.1583)
OKLCHoklch(39.02% 0.162 282)
XYZxyz(8.5252, 5.2589, 29.8380)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F97 #89972F
analogous
#2F5597 #3D2F97 #712F97
triadic
#3D2F97 #973D2F #2F973D
tetradic
#3D2F97 #972F55 #89972F #2F9771
square
#3D2F97 #972F55 #89972F #2F9771
split-complementary
#3D2F97 #97712F #55972F
monochromatic
#17123A #2A2068 #3D2F97 #5140C3 #7C6ED2

Accessibility & contrast

On white

10.23
#3D2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F97
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F97#FFFFFF#000000##FFFFFF
##3D2F971.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#044A5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2f97;
/* rgb */ color: rgb(61, 47, 151);
/* oklch */ color: oklch(39.0% 0.162 282.0);
Tailwind
colors: {
  custom: {
    50: '#7d69b7',
    500: '#3d2f97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f97;
$custom-light: #7d69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f97",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 248.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.1618,
    "h": 282
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#3D2F97
secondary
#AEB968
accent
#DC4CC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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