#3D208E#3D208E

#3D208E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.168 H 286.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3D208E
RGBrgb(61, 32, 142)
HSLhsl(256, 63%, 34%)
HSVhsv(256, 77%, 56%)
CMYKcmyk(57%, 77.5%, 0%, 44.3%)
CIE-LABlab(23.60, 42.07, -55.76)
CIE-LCHlch(23.60, 69.85, 307.04°)
OKLaboklab(36.02% 0.0479 -0.1605)
OKLCHoklch(36.02% 0.168 286.6)
XYZxyz(7.3220, 3.9777, 25.9679)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D208E #718E20
analogous
#203A8E #3D208E #74208E
triadic
#3D208E #8E3D20 #208E3D
tetradic
#3D208E #8E203A #718E20 #208E74
square
#3D208E #8E203A #718E20 #208E74
split-complementary
#3D208E #8E7420 #3A8E20
monochromatic
#12092A #28155C #3D208E #522BC0 #7451D8

Accessibility & contrast

On white

11.70
#3D208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D208E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D208E#FFFFFF#000000##FFFFFF
##3D208E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#183F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d208e;
/* rgb */ color: rgb(61, 32, 142);
/* oklch */ color: oklch(36.0% 0.168 286.6);
Tailwind
colors: {
  custom: {
    50: '#7c5fb0',
    500: '#3d208e',
    950: '#000000',
  },
}
SCSS
$custom: #3d208e;
$custom-light: #7c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d208e",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 255.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36017,
    "c": 0.1675,
    "h": 286.6
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#3D208E
secondary
#9EBB4F
accent
#E642BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D208E

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

Preview Lab → · Contrast checker → · Palette generator →

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