#3D2F92#3D2F92

#3D2F92 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.155 H 282.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3D2F92
RGBrgb(61, 47, 146)
HSLhsl(248, 51%, 38%)
HSVhsv(248, 68%, 57%)
CMYKcmyk(58.2%, 67.8%, 0%, 42.7%)
CIE-LABlab(27.02, 34.86, -52.63)
CIE-LCHlch(27.02, 63.13, 303.52°)
OKLaboklab(38.57% 0.0343 -0.1514)
OKLCHoklch(38.57% 0.155 282.8)
XYZxyz(8.1277, 5.0999, 27.7447)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F92 #84922F
analogous
#2F5292 #3D2F92 #6E2F92
triadic
#3D2F92 #923D2F #2F923D
tetradic
#3D2F92 #922F52 #84922F #2F926E
square
#3D2F92 #922F52 #84922F #2F926E
split-complementary
#3D2F92 #926E2F #52922F
monochromatic
#161135 #2A2064 #3D2F92 #503EC0 #7A6CD0

Accessibility & contrast

On white

10.40
#3D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F92
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F92#FFFFFF#000000##FFFFFF
##3D2F921.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#10485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2f92;
/* rgb */ color: rgb(61, 47, 146);
/* oklch */ color: oklch(38.6% 0.155 282.8);
Tailwind
colors: {
  custom: {
    50: '#7c69b3',
    500: '#3d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f92;
$custom-light: #7c69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f92",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 248.485,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.15522,
    "h": 282.8
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#3D2F92
secondary
#ABB766
accent
#DB4DC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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