#3D205E#3D205E

#3D205E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.107 H 302.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3D205E
RGBrgb(61, 32, 94)
HSLhsl(268, 49%, 25%)
HSVhsv(268, 66%, 37%)
CMYKcmyk(35.1%, 66%, 0%, 63.1%)
CIE-LABlab(19.36, 27.93, -31.89)
CIE-LCHlch(19.36, 42.39, 311.21°)
OKLaboklab(31.69% 0.0569 -0.0904)
OKLCHoklch(31.69% 0.107 302.2)
XYZxyz(4.4609, 2.8333, 10.8994)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D205E #415E20
analogous
#20225E #3D205E #5C205E
triadic
#3D205E #5E3D20 #205E3D
tetradic
#3D205E #5E2022 #415E20 #205E5C
square
#3D205E #5E2022 #415E20 #205E5C
split-complementary
#3D205E #5E5C20 #225E20
monochromatic
#0F0817 #1F1030 #3D205E #5B308C #783FB9

Accessibility & contrast

On white

13.40
#3D205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D205E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D205E#FFFFFF#000000##FFFFFF
##3D205E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#362D3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d205e;
/* rgb */ color: rgb(61, 32, 94);
/* oklch */ color: oklch(31.7% 0.107 302.2);
Tailwind
colors: {
  custom: {
    50: '#755d8c',
    500: '#3d205e',
    950: '#000000',
  },
}
SCSS
$custom: #3d205e;
$custom-light: #755d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d205e",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 268.065,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.10686,
    "h": 302.2
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#3D205E
secondary
#6F9247
accent
#D94F98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D205E

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

Preview Lab → · Contrast checker → · Palette generator →

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