#3D2C8A#3D2C8A

#3D2C8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.148 H 284.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3D2C8A
RGBrgb(61, 44, 138)
HSLhsl(251, 52%, 36%)
HSVhsv(251, 68%, 54%)
CMYKcmyk(55.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(25.65, 34.09, -49.91)
CIE-LCHlch(25.65, 60.44, 304.34°)
OKLaboklab(37.36% 0.0383 -0.1434)
OKLCHoklch(37.36% 0.148 284.9)
XYZxyz(7.4112, 4.6280, 24.5426)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C8A #798A2C
analogous
#2C4A8A #3D2C8A #6C2C8A
triadic
#3D2C8A #8A3D2C #2C8A3D
tetradic
#3D2C8A #8A2C4A #798A2C #2C8A6C
square
#3D2C8A #8A2C4A #798A2C #2C8A6C
split-complementary
#3D2C8A #8A6C2C #4A8A2C
monochromatic
#140E2D #281D5C #3D2C8A #523BB8 #7663CD

Accessibility & contrast

On white

10.91
#3D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C8A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C8A#FFFFFF#000000##FFFFFF
##3D2C8A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#1B4457
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2c8a;
/* rgb */ color: rgb(61, 44, 138);
/* oklch */ color: oklch(37.4% 0.148 284.9);
Tailwind
colors: {
  custom: {
    50: '#7b66ad',
    500: '#3d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c8a;
$custom-light: #7b66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c8a",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 250.851,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37362,
    "c": 0.14841,
    "h": 284.9
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#3D2C8A
secondary
#A4B45E
accent
#DB4DC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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