#3D208D#3D208D

#3D208D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.166 H 286.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#3D208D
RGBrgb(61, 32, 141)
HSLhsl(256, 63%, 34%)
HSVhsv(256, 77%, 55%)
CMYKcmyk(56.7%, 77.3%, 0%, 44.7%)
CIE-LABlab(23.50, 41.77, -55.30)
CIE-LCHlch(23.50, 69.30, 307.07°)
OKLaboklab(35.92% 0.0482 -0.1592)
OKLCHoklch(35.92% 0.166 286.9)
XYZxyz(7.2473, 3.9478, 25.5743)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D208D #708D20
analogous
#203A8D #3D208D #74208D
triadic
#3D208D #8D3D20 #208D3D
tetradic
#3D208D #8D203A #708D20 #208D74
square
#3D208D #8D203A #708D20 #208D74
split-complementary
#3D208D #8D7420 #3A8D20
monochromatic
#120929 #27155B #3D208D #532BBF #7450D7

Accessibility & contrast

On white

11.73
#3D208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D208D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D208D#FFFFFF#000000##FFFFFF
##3D208D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#193F55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d208d;
/* rgb */ color: rgb(61, 32, 141);
/* oklch */ color: oklch(35.9% 0.166 286.9);
Tailwind
colors: {
  custom: {
    50: '#7c5faf',
    500: '#3d208d',
    950: '#000000',
  },
}
SCSS
$custom: #3d208d;
$custom-light: #7c5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d208d",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 255.963,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.16629,
    "h": 286.9
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#3D208D
secondary
#9EBA4E
accent
#E642BA
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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