#3D1D83#3D1D83

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

Color values

HEX#3D1D83
RGBrgb(61, 29, 131)
HSLhsl(259, 64%, 31%)
HSVhsv(259, 78%, 51%)
CMYKcmyk(53.4%, 77.9%, 0%, 48.6%)
CIE-LABlab(21.98, 40.35, -51.53)
CIE-LCHlch(21.98, 65.45, 308.06°)
OKLaboklab(34.55% 0.0534 -0.1481)
OKLCHoklch(34.55% 0.157 289.8)
XYZxyz(6.4594, 3.5092, 21.8053)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D83 #63831D
analogous
#1D3083 #3D1D83 #701D83
triadic
#3D1D83 #833D1D #1D833D
tetradic
#3D1D83 #831D30 #63831D #1D8370
square
#3D1D83 #831D30 #63831D #1D8370
split-complementary
#3D1D83 #83701D #30831D
monochromatic
#0E071F #261251 #3D1D83 #5428B5 #7245D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D1D83#FFFFFF#000000##FFFFFF
##3D1D831.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)
#003686
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#23394F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d1d83;
/* rgb */ color: rgb(61, 29, 131);
/* oklch */ color: oklch(34.6% 0.157 289.8);
Tailwind
colors: {
  custom: {
    50: '#7b5da8',
    500: '#3d1d83',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d83;
$custom-light: #7b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d83",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 258.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34551,
    "c": 0.15744,
    "h": 289.8
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#3D1D83
secondary
#93B646
accent
#E741B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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