#3D207D#3D207D

#3D207D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.147 H 290.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#3D207D
RGBrgb(61, 32, 125)
HSLhsl(259, 59%, 31%)
HSVhsv(259, 74%, 49%)
CMYKcmyk(51.2%, 74.4%, 0%, 51%)
CIE-LABlab(21.96, 37.00, -47.76)
CIE-LCHlch(21.96, 60.41, 307.77°)
OKLaboklab(34.37% 0.0523 -0.1371)
OKLCHoklch(34.37% 0.147 290.9)
XYZxyz(6.1416, 3.5056, 19.7511)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D207D #607D20
analogous
#20317D #3D207D #6B207D
triadic
#3D207D #7D3D20 #207D3D
tetradic
#3D207D #7D2031 #607D20 #207D6B
square
#3D207D #7D2031 #607D20 #207D6B
split-complementary
#3D207D #7D6B20 #317D20
monochromatic
#0D071C #25144C #3D207D #552CAE #7247D0

Accessibility & contrast

On white

12.34
#3D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D207D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D207D#FFFFFF#000000##FFFFFF
##3D207D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#28384C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d207d;
/* rgb */ color: rgb(61, 32, 125);
/* oklch */ color: oklch(34.4% 0.147 290.9);
Tailwind
colors: {
  custom: {
    50: '#795ea3',
    500: '#3d207d',
    950: '#000000',
  },
}
SCSS
$custom: #3d207d;
$custom-light: #795ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d207d",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 258.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.1467,
    "h": 290.9
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#3D207D
secondary
#90B049
accent
#E245B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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