#3D208A#3D208A

#3D208A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.163 H 287.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3D208A
RGBrgb(61, 32, 138)
HSLhsl(256, 62%, 33%)
HSVhsv(256, 77%, 54%)
CMYKcmyk(55.8%, 76.8%, 0%, 45.9%)
CIE-LABlab(23.20, 40.88, -53.91)
CIE-LCHlch(23.20, 67.66, 307.17°)
OKLaboklab(35.62% 0.049 -0.1551)
OKLCHoklch(35.62% 0.163 287.5)
XYZxyz(7.0271, 3.8597, 24.4146)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D208A #6D8A20
analogous
#20388A #3D208A #72208A
triadic
#3D208A #8A3D20 #208A3D
tetradic
#3D208A #8A2038 #6D8A20 #208A72
square
#3D208A #8A2038 #6D8A20 #208A72
split-complementary
#3D208A #8A7220 #388A20
monochromatic
#110927 #271458 #3D208A #532CBC #734ED6

Accessibility & contrast

On white

11.85
#3D208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D208A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D208A#FFFFFF#000000##FFFFFF
##3D208A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#1D3D53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d208a;
/* rgb */ color: rgb(61, 32, 138);
/* oklch */ color: oklch(35.6% 0.163 287.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fad',
    500: '#3d208a',
    950: '#000000',
  },
}
SCSS
$custom: #3d208a;
$custom-light: #7c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d208a",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 256.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3562,
    "c": 0.16267,
    "h": 287.5
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#3D208A
secondary
#9BB94D
accent
#E542B9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D208A

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

Preview Lab → · Contrast checker → · Palette generator →

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