#3D1D92#3D1D92

#3D1D92 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.175 H 286.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3D1D92
RGBrgb(61, 29, 146)
HSLhsl(256, 67%, 34%)
HSVhsv(256, 80%, 57%)
CMYKcmyk(58.2%, 80.1%, 0%, 42.7%)
CIE-LABlab(23.49, 44.72, -58.41)
CIE-LCHlch(23.49, 73.57, 307.44°)
OKLaboklab(36.07% 0.0489 -0.1682)
OKLCHoklch(36.07% 0.175 286.2)
XYZxyz(7.5506, 3.9457, 27.5523)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D92 #72921D
analogous
#1D3892 #3D1D92 #781D92
triadic
#3D1D92 #923D1D #1D923D
tetradic
#3D1D92 #921D38 #72921D #1D9278
square
#3D1D92 #921D38 #72921D #1D9278
split-complementary
#3D1D92 #92781D #38921D
monochromatic
#12092C #28135F #3D1D92 #5227C5 #754EDC

Accessibility & contrast

On white

11.74
#3D1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D1D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D92
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D92#FFFFFF#000000##FFFFFF
##3D1D921.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#123F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1d92;
/* rgb */ color: rgb(61, 29, 146);
/* oklch */ color: oklch(36.1% 0.175 286.2);
Tailwind
colors: {
  custom: {
    50: '#7d5eb3',
    500: '#3d1d92',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d92;
$custom-light: #7d5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d92",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 256.41,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.17519,
    "h": 286.2
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#3D1D92
secondary
#9FBE4C
accent
#EA3EBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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