#3D2C8F#3D2C8F

#3D2C8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.155 H 284.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3D2C8F
RGBrgb(61, 44, 143)
HSLhsl(250, 53%, 37%)
HSVhsv(250, 69%, 56%)
CMYKcmyk(57.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(26.09, 35.70, -52.29)
CIE-LCHlch(26.09, 63.32, 304.32°)
OKLaboklab(37.82% 0.0375 -0.1504)
OKLCHoklch(37.82% 0.155 284)
XYZxyz(7.7816, 4.7762, 26.4931)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C8F #7E8F2C
analogous
#2C4D8F #3D2C8F #6F2C8F
triadic
#3D2C8F #8F3D2C #2C8F3D
tetradic
#3D2C8F #8F2C4D #7E8F2C #2C8F6F
square
#3D2C8F #8F2C4D #7E8F2C #2C8F6F
split-complementary
#3D2C8F #8F6F2C #4D8F2C
monochromatic
#150F31 #291E60 #3D2C8F #513ABE #7866D0

Accessibility & contrast

On white

10.74
#3D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C8F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C8F#FFFFFF#000000##FFFFFF
##3D2C8F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#15455A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2c8f;
/* rgb */ color: rgb(61, 44, 143);
/* oklch */ color: oklch(37.8% 0.155 284.0);
Tailwind
colors: {
  custom: {
    50: '#7c66b1',
    500: '#3d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c8f;
$custom-light: #7c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c8f",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 250.303,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37815,
    "c": 0.15501,
    "h": 284
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#3D2C8F
secondary
#A8B661
accent
#DC4BC3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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