#3D2F95#3D2F95

#3D2F95 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.159 H 282.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3D2F95
RGBrgb(61, 47, 149)
HSLhsl(248, 52%, 38%)
HSVhsv(248, 68%, 58%)
CMYKcmyk(59.1%, 68.5%, 0%, 41.6%)
CIE-LABlab(27.28, 35.84, -54.04)
CIE-LCHlch(27.28, 64.84, 303.55°)
OKLaboklab(38.84% 0.0339 -0.1555)
OKLCHoklch(38.84% 0.159 282.3)
XYZxyz(8.3641, 5.1945, 28.9898)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F95 #87952F
analogous
#2F5495 #3D2F95 #702F95
triadic
#3D2F95 #953D2F #2F953D
tetradic
#3D2F95 #952F54 #87952F #2F9570
square
#3D2F95 #952F54 #87952F #2F9570
split-complementary
#3D2F95 #95702F #54952F
monochromatic
#171238 #2A2066 #3D2F95 #513FC2 #7B6DD1

Accessibility & contrast

On white

10.30
#3D2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F95
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F95#FFFFFF#000000##FFFFFF
##3D2F951.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#09495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2f95;
/* rgb */ color: rgb(61, 47, 149);
/* oklch */ color: oklch(38.8% 0.159 282.3);
Tailwind
colors: {
  custom: {
    50: '#7c69b5',
    500: '#3d2f95',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f95;
$custom-light: #7c69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f95",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 248.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.15918,
    "h": 282.3
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#3D2F95
secondary
#ADB867
accent
#DB4CC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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