#3D1C9B#3D1C9B

#3D1C9B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.186 H 284.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3D1C9B
RGBrgb(61, 28, 155)
HSLhsl(256, 69%, 36%)
HSVhsv(256, 82%, 61%)
CMYKcmyk(60.6%, 81.9%, 0%, 39.2%)
CIE-LABlab(24.29, 47.78, -62.65)
CIE-LCHlch(24.29, 78.79, 307.33°)
OKLaboklab(36.9% 0.0466 -0.1806)
OKLCHoklch(36.9% 0.186 284.5)
XYZxyz(8.2543, 4.1886, 31.3775)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C9B #7A9B1C
analogous
#1C3A9B #3D1C9B #7C1C9B
triadic
#3D1C9B #9B3D1C #1C9B3D
tetradic
#3D1C9B #9B1C3A #7A9B1C #1C9B7C
square
#3D1C9B #9B1C3A #7A9B1C #1C9B7C
split-complementary
#3D1C9B #9B7C1C #3A9B1C
monochromatic
#140933 #291367 #3D1C9B #5125CF #7752E0

Accessibility & contrast

On white

11.43
#3D1C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D1C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C9B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C9B#FFFFFF#000000##FFFFFF
##3D1C9B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d1c9b;
/* rgb */ color: rgb(61, 28, 155);
/* oklch */ color: oklch(36.9% 0.186 284.5);
Tailwind
colors: {
  custom: {
    50: '#7f5eba',
    500: '#3d1c9b',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c9b;
$custom-light: #7f5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c9b",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 255.591,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.18648,
    "h": 284.5
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#3D1C9B
secondary
#A5C350
accent
#EC3CBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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