#3D1C95#3D1C95

#3D1C95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.180 H 285.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#3D1C95
RGBrgb(61, 28, 149)
HSLhsl(256, 68%, 35%)
HSVhsv(256, 81%, 58%)
CMYKcmyk(59.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(23.65, 46.05, -60.01)
CIE-LCHlch(23.65, 75.65, 307.50°)
OKLaboklab(36.27% 0.0486 -0.1729)
OKLCHoklch(36.27% 0.18 285.7)
XYZxyz(7.7629, 3.9921, 28.7894)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C95 #74951C
analogous
#1C3795 #3D1C95 #7A1C95
triadic
#3D1C95 #953D1C #1C953D
tetradic
#3D1C95 #951C37 #74951C #1C957A
square
#3D1C95 #951C37 #74951C #1C957A
split-complementary
#3D1C95 #957A1C #37951C
monochromatic
#13092E #281261 #3D1C95 #5226C9 #754EDE

Accessibility & contrast

On white

11.68
#3D1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1C95
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C95#FFFFFF#000000##FFFFFF
##3D1C951.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#0D4059
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1c95;
/* rgb */ color: rgb(61, 28, 149);
/* oklch */ color: oklch(36.3% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e5db5',
    500: '#3d1c95',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c95;
$custom-light: #7e5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c95",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 256.364,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36267,
    "c": 0.17959,
    "h": 285.7
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#3D1C95
secondary
#A1C04D
accent
#EB3DBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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