#3D206F#3D206F

#3D206F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.129 H 295.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3D206F
RGBrgb(61, 32, 111)
HSLhsl(262, 55%, 28%)
HSVhsv(262, 71%, 44%)
CMYKcmyk(45%, 71.2%, 0%, 56.5%)
CIE-LABlab(20.72, 32.85, -40.82)
CIE-LCHlch(20.72, 52.39, 308.83°)
OKLaboklab(33.1% 0.0551 -0.1167)
OKLCHoklch(33.1% 0.129 295.3)
XYZxyz(5.3095, 3.1727, 15.3685)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D206F #526F20
analogous
#202A6F #3D206F #64206F
triadic
#3D206F #6F3D20 #206F3D
tetradic
#3D206F #6F202A #526F20 #206F64
square
#3D206F #6F202A #526F20 #206F64
split-complementary
#3D206F #6F6420 #2A6F20
monochromatic
#0D0718 #23123F #3D206F #572E9F #7341C8

Accessibility & contrast

On white

12.85
#3D206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3D206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D206F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D206F#FFFFFF#000000##FFFFFF
##3D206F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#303344
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d206f;
/* rgb */ color: rgb(61, 32, 111);
/* oklch */ color: oklch(33.1% 0.129 295.3);
Tailwind
colors: {
  custom: {
    50: '#775e99',
    500: '#3d206f',
    950: '#000000',
  },
}
SCSS
$custom: #3d206f;
$custom-light: #775e99;
$custom-dark: #000000;
JSON
{
  "hex": "#3d206f",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 262.025,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.12901,
    "h": 295.3
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#3D206F
secondary
#81A348
accent
#DF49A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D206F

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

Preview Lab → · Contrast checker → · Palette generator →

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