#3D207A#3D207A

#3D207A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.143 H 291.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#3D207A
RGBrgb(61, 32, 122)
HSLhsl(259, 58%, 30%)
HSVhsv(259, 74%, 48%)
CMYKcmyk(50%, 73.8%, 0%, 52.2%)
CIE-LABlab(21.69, 36.11, -46.30)
CIE-LCHlch(21.69, 58.72, 307.95°)
OKLaboklab(34.09% 0.053 -0.1328)
OKLCHoklch(34.09% 0.143 291.7)
XYZxyz(5.9528, 3.4300, 18.7570)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D207A #5D7A20
analogous
#20307A #3D207A #6A207A
triadic
#3D207A #7A3D20 #207A3D
tetradic
#3D207A #7A2030 #5D7A20 #207A6A
square
#3D207A #7A2030 #5D7A20 #207A6A
split-complementary
#3D207A #7A6A20 #307A20
monochromatic
#0D0719 #25134A #3D207A #552DAA #7246CE

Accessibility & contrast

On white

12.46
#3D207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D207A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D207A#FFFFFF#000000##FFFFFF
##3D207A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#2A374A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d207a;
/* rgb */ color: rgb(61, 32, 122);
/* oklch */ color: oklch(34.1% 0.143 291.7);
Tailwind
colors: {
  custom: {
    50: '#795ea1',
    500: '#3d207a',
    950: '#000000',
  },
}
SCSS
$custom: #3d207a;
$custom-light: #795ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d207a",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 259.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.14295,
    "h": 291.7
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#3D207A
secondary
#8DAD49
accent
#E246B0
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D207A

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

Preview Lab → · Contrast checker → · Palette generator →

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