#3D205C#3D205C

#3D205C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 303.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#3D205C
RGBrgb(61, 32, 92)
HSLhsl(269, 48%, 24%)
HSVhsv(269, 65%, 36%)
CMYKcmyk(33.7%, 65.2%, 0%, 63.9%)
CIE-LABlab(19.22, 27.36, -30.80)
CIE-LCHlch(19.22, 41.20, 311.62°)
OKLaboklab(31.53% 0.057 -0.0872)
OKLCHoklch(31.53% 0.104 303.2)
XYZxyz(4.3723, 2.7978, 10.4328)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D205C #3F5C20
analogous
#20215C #3D205C #5B205C
triadic
#3D205C #5C3D20 #205C3D
tetradic
#3D205C #5C2021 #3F5C20 #205C5B
square
#3D205C #5C2021 #3F5C20 #205C5B
split-complementary
#3D205C #5C5B20 #215C20
monochromatic
#0F0817 #1F102F #3D205C #5B3089 #7940B7

Accessibility & contrast

On white

13.46
#3D205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D205C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D205C#FFFFFF#000000##FFFFFF
##3D205C1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5E
Deuteranopia (green-blind)
#102E5B
Tritanopia (blue-blind)
#372C3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d205c;
/* rgb */ color: rgb(61, 32, 92);
/* oklch */ color: oklch(31.5% 0.104 303.2);
Tailwind
colors: {
  custom: {
    50: '#755d8a',
    500: '#3d205c',
    950: '#000000',
  },
}
SCSS
$custom: #3d205c;
$custom-light: #755d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d205c",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 269,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.10422,
    "h": 303.2
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#3D205C
secondary
#6D9047
accent
#D85096
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #3D205C

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

Preview Lab → · Contrast checker → · Palette generator →

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