#3D208F#3D208F

#3D208F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.169 H 286.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3D208F
RGBrgb(61, 32, 143)
HSLhsl(256, 63%, 34%)
HSVhsv(256, 78%, 56%)
CMYKcmyk(57.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(23.70, 42.37, -56.21)
CIE-LCHlch(23.70, 70.39, 307.00°)
OKLaboklab(36.12% 0.0477 -0.1618)
OKLCHoklch(36.12% 0.169 286.4)
XYZxyz(7.3974, 4.0079, 26.3651)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D208F #728F20
analogous
#203A8F #3D208F #75208F
triadic
#3D208F #8F3D20 #208F3D
tetradic
#3D208F #8F203A #728F20 #208F75
square
#3D208F #8F203A #728F20 #208F75
split-complementary
#3D208F #8F7520 #3A8F20
monochromatic
#120A2B #28155D #3D208F #522BC1 #7551D8

Accessibility & contrast

On white

11.66
#3D208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3D208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D208F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D208F#FFFFFF#000000##FFFFFF
##3D208F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#173F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d208f;
/* rgb */ color: rgb(61, 32, 143);
/* oklch */ color: oklch(36.1% 0.169 286.4);
Tailwind
colors: {
  custom: {
    50: '#7d5fb1',
    500: '#3d208f',
    950: '#000000',
  },
}
SCSS
$custom: #3d208f;
$custom-light: #7d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d208f",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 255.676,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36117,
    "c": 0.1687,
    "h": 286.4
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#3D208F
secondary
#9FBB4F
accent
#E641BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D208F

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

Preview Lab → · Contrast checker → · Palette generator →

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