#3D1C93#3D1C93

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

Color values

HEX#3D1C93
RGBrgb(61, 28, 147)
HSLhsl(257, 68%, 34%)
HSVhsv(257, 81%, 58%)
CMYKcmyk(58.5%, 81%, 0%, 42.4%)
CIE-LABlab(23.43, 45.48, -59.13)
CIE-LCHlch(23.43, 74.59, 307.57°)
OKLaboklab(36.06% 0.0493 -0.1703)
OKLCHoklch(36.06% 0.177 286.1)
XYZxyz(7.6046, 3.9287, 27.9557)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C93 #72931C
analogous
#1C3693 #3D1C93 #791C93
triadic
#3D1C93 #933D1C #1C933D
tetradic
#3D1C93 #931C36 #72931C #1C9379
square
#3D1C93 #931C36 #72931C #1C9379
split-complementary
#3D1C93 #93791C #36931C
monochromatic
#12082C #281260 #3D1C93 #5226C6 #754CDD

Accessibility & contrast

On white

11.76
#3D1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1C93
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C93#FFFFFF#000000##FFFFFF
##3D1C931.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#113F58
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1c93;
/* rgb */ color: rgb(61, 28, 147);
/* oklch */ color: oklch(36.1% 0.177 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e5db4',
    500: '#3d1c93',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c93;
$custom-light: #7e5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c93",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 256.639,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36057,
    "c": 0.17727,
    "h": 286.1
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#3D1C93
secondary
#9FBF4C
accent
#EB3DBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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