#3D2F8F#3D2F8F

#3D2F8F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.151 H 283.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3D2F8F
RGBrgb(61, 47, 143)
HSLhsl(249, 51%, 37%)
HSVhsv(249, 67%, 56%)
CMYKcmyk(57.3%, 67.1%, 0%, 43.9%)
CIE-LABlab(26.76, 33.88, -51.20)
CIE-LCHlch(26.76, 61.40, 303.50°)
OKLaboklab(38.3% 0.0347 -0.1472)
OKLCHoklch(38.3% 0.151 283.3)
XYZxyz(7.8974, 5.0078, 26.5317)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F8F #818F2F
analogous
#2F518F #3D2F8F #6D2F8F
triadic
#3D2F8F #8F3D2F #2F8F3D
tetradic
#3D2F8F #8F2F51 #818F2F #2F8F6D
square
#3D2F8F #8F2F51 #818F2F #2F8F6D
split-complementary
#3D2F8F #8F6D2F #518F2F
monochromatic
#161133 #292061 #3D2F8F #513EBD #796ACE

Accessibility & contrast

On white

10.49
#3D2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F8F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F8F#FFFFFF#000000##FFFFFF
##3D2F8F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#15475A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2f8f;
/* rgb */ color: rgb(61, 47, 143);
/* oklch */ color: oklch(38.3% 0.151 283.3);
Tailwind
colors: {
  custom: {
    50: '#7b68b1',
    500: '#3d2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f8f;
$custom-light: #7b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f8f",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 248.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.15122,
    "h": 283.3
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#3D2F8F
secondary
#A9B565
accent
#DA4EC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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