#3D205D#3D205D

#3D205D is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.106 H 302.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3D205D
RGBrgb(61, 32, 93)
HSLhsl(269, 49%, 25%)
HSVhsv(269, 66%, 36%)
CMYKcmyk(34.4%, 65.6%, 0%, 63.5%)
CIE-LABlab(19.29, 27.65, -31.35)
CIE-LCHlch(19.29, 41.80, 311.41°)
OKLaboklab(31.61% 0.057 -0.0888)
OKLCHoklch(31.61% 0.106 302.7)
XYZxyz(4.4163, 2.8154, 10.6646)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D205D #405D20
analogous
#20215D #3D205D #5C205D
triadic
#3D205D #5D3D20 #205D3D
tetradic
#3D205D #5D2021 #405D20 #205D5C
square
#3D205D #5D2021 #405D20 #205D5C
split-complementary
#3D205D #5D5C20 #215D20
monochromatic
#0F0817 #1F102F #3D205D #5B308B #793FB8

Accessibility & contrast

On white

13.44
#3D205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D205D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D205D#FFFFFF#000000##FFFFFF
##3D205D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#372D3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d205d;
/* rgb */ color: rgb(61, 32, 93);
/* oklch */ color: oklch(31.6% 0.106 302.7);
Tailwind
colors: {
  custom: {
    50: '#755d8b',
    500: '#3d205d',
    950: '#000000',
  },
}
SCSS
$custom: #3d205d;
$custom-light: #755d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d205d",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 268.525,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.10554,
    "h": 302.7
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#3D205D
secondary
#6E9147
accent
#D84F97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D205D

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

Preview Lab → · Contrast checker → · Palette generator →

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