#3D2C8D#3D2C8D

#3D2C8D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.152 H 284.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3D2C8D
RGBrgb(61, 44, 141)
HSLhsl(251, 52%, 36%)
HSVhsv(251, 69%, 55%)
CMYKcmyk(56.7%, 68.8%, 0%, 44.7%)
CIE-LABlab(25.91, 35.06, -51.35)
CIE-LCHlch(25.91, 62.17, 304.32°)
OKLaboklab(37.63% 0.0378 -0.1476)
OKLCHoklch(37.63% 0.152 284.4)
XYZxyz(7.6314, 4.7161, 25.7023)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C8D #7C8D2C
analogous
#2C4C8D #3D2C8D #6E2C8D
triadic
#3D2C8D #8D3D2C #2C8D3D
tetradic
#3D2C8D #8D2C4C #7C8D2C #2C8D6E
square
#3D2C8D #8D2C4C #7C8D2C #2C8D6E
split-complementary
#3D2C8D #8D6E2C #4C8D2C
monochromatic
#150F30 #291D5E #3D2C8D #513BBC #7765CF

Accessibility & contrast

On white

10.81
#3D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C8D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C8D#FFFFFF#000000##FFFFFF
##3D2C8D1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#184558
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2c8d;
/* rgb */ color: rgb(61, 44, 141);
/* oklch */ color: oklch(37.6% 0.152 284.4);
Tailwind
colors: {
  custom: {
    50: '#7b66af',
    500: '#3d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c8d;
$custom-light: #7b66af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c8d",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 250.515,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.15239,
    "h": 284.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#3D2C8D
secondary
#A6B560
accent
#DC4CC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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