#3D205B#3D205B

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

Color values

HEX#3D205B
RGBrgb(61, 32, 91)
HSLhsl(269, 48%, 24%)
HSVhsv(269, 65%, 36%)
CMYKcmyk(33%, 64.8%, 0%, 64.3%)
CIE-LABlab(19.14, 27.08, -30.25)
CIE-LCHlch(19.14, 40.61, 311.83°)
OKLaboklab(31.46% 0.0571 -0.0856)
OKLCHoklch(31.46% 0.103 303.7)
XYZxyz(4.3289, 2.7805, 10.2041)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D205B #3E5B20
analogous
#20215B #3D205B #5B205B
triadic
#3D205B #5B3D20 #205B3D
tetradic
#3D205B #5B2021 #3E5B20 #205B5B
square
#3D205B #5B2021 #3E5B20 #205B5B
split-complementary
#3D205B #5B5B20 #215B20
monochromatic
#0F0817 #1F102E #3D205B #5B3088 #7A40B6

Accessibility & contrast

On white

13.50
#3D205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D205B
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D205B#FFFFFF#000000##FFFFFF
##3D205B1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5D
Deuteranopia (green-blind)
#112E5A
Tritanopia (blue-blind)
#372C3A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d205b;
/* rgb */ color: rgb(61, 32, 91);
/* oklch */ color: oklch(31.5% 0.103 303.7);
Tailwind
colors: {
  custom: {
    50: '#755d8a',
    500: '#3d205b',
    950: '#000000',
  },
}
SCSS
$custom: #3d205b;
$custom-light: #755d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d205b",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 269.492,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31455,
    "c": 0.10289,
    "h": 303.7
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#3D205B
secondary
#6C8F47
accent
#D85095
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #3D205B

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

Preview Lab → · Contrast checker → · Palette generator →

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