#3D1C99#3D1C99

#3D1C99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.184 H 284.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3D1C99
RGBrgb(61, 28, 153)
HSLhsl(256, 69%, 35%)
HSVhsv(256, 82%, 60%)
CMYKcmyk(60.1%, 81.7%, 0%, 40%)
CIE-LABlab(24.07, 47.20, -61.77)
CIE-LCHlch(24.07, 77.74, 307.38°)
OKLaboklab(36.69% 0.0473 -0.178)
OKLCHoklch(36.69% 0.184 284.9)
XYZxyz(8.0877, 4.1220, 30.5003)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C99 #78991C
analogous
#1C3999 #3D1C99 #7B1C99
triadic
#3D1C99 #993D1C #1C993D
tetradic
#3D1C99 #991C39 #78991C #1C997B
square
#3D1C99 #991C39 #78991C #1C997B
split-complementary
#3D1C99 #997B1C #39991C
monochromatic
#140932 #281365 #3D1C99 #5225CD #7650DF

Accessibility & contrast

On white

11.51
#3D1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C99
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C99#FFFFFF#000000##FFFFFF
##3D1C991.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#02425B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d1c99;
/* rgb */ color: rgb(61, 28, 153);
/* oklch */ color: oklch(36.7% 0.184 284.9);
Tailwind
colors: {
  custom: {
    50: '#7f5eb8',
    500: '#3d1c99',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c99;
$custom-light: #7f5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c99",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 255.84,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36688,
    "c": 0.18419,
    "h": 284.9
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#3D1C99
secondary
#A3C24F
accent
#EC3CBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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