#3D2B97#3D2B97

#3D2B97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.167 H 282.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3D2B97
RGBrgb(61, 43, 151)
HSLhsl(250, 56%, 38%)
HSVhsv(250, 72%, 59%)
CMYKcmyk(59.6%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.60, 38.84, -56.38)
CIE-LCHlch(26.60, 68.46, 304.56°)
OKLaboklab(38.41% 0.037 -0.1624)
OKLCHoklch(38.41% 0.167 282.8)
XYZxyz(8.3725, 4.9537, 29.7871)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B97 #85972B
analogous
#2B4F97 #3D2B97 #732B97
triadic
#3D2B97 #973D2B #2B973D
tetradic
#3D2B97 #972B4F #85972B #2B9773
square
#3D2B97 #972B4F #85972B #2B9773
split-complementary
#3D2B97 #97732B #4F972B
monochromatic
#171038 #2A1D67 #3D2B97 #5039C7 #7A68D4

Accessibility & contrast

On white

10.55
#3D2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B97
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B97#FFFFFF#000000##FFFFFF
##3D2B971.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#05485E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2b97;
/* rgb */ color: rgb(61, 43, 151);
/* oklch */ color: oklch(38.4% 0.167 282.8);
Tailwind
colors: {
  custom: {
    50: '#7d66b7',
    500: '#3d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b97;
$custom-light: #7d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b97",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 250,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.16654,
    "h": 282.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#3D2B97
secondary
#ACBB63
accent
#DF49C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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