#3D1D93#3D1D93

#3D1D93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.176 H 286.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3D1D93
RGBrgb(61, 29, 147)
HSLhsl(256, 67%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(58.5%, 80.3%, 0%, 42.4%)
CIE-LABlab(23.60, 45.01, -58.86)
CIE-LCHlch(23.60, 74.10, 307.40°)
OKLaboklab(36.17% 0.0486 -0.1695)
OKLCHoklch(36.17% 0.176 286)
XYZxyz(7.6287, 3.9770, 27.9638)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D93 #73931D
analogous
#1D3893 #3D1D93 #781D93
triadic
#3D1D93 #933D1D #1D933D
tetradic
#3D1D93 #931D38 #73931D #1D9378
square
#3D1D93 #931D38 #73931D #1D9378
split-complementary
#3D1D93 #93781D #38931D
monochromatic
#13092D #281360 #3D1D93 #5227C6 #754EDC

Accessibility & contrast

On white

11.70
#3D1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3D1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D93
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D93#FFFFFF#000000##FFFFFF
##3D1D931.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#114058
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1d93;
/* rgb */ color: rgb(61, 29, 147);
/* oklch */ color: oklch(36.2% 0.176 286.0);
Tailwind
colors: {
  custom: {
    50: '#7d5eb4',
    500: '#3d1d93',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d93;
$custom-light: #7d5eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d93",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 256.271,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.17636,
    "h": 286
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#3D1D93
secondary
#A0BF4D
accent
#EA3EBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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