#3D1C71#3D1C71

#3D1C71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.137 H 295.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3D1C71
RGBrgb(61, 28, 113)
HSLhsl(263, 60%, 28%)
HSVhsv(263, 75%, 44%)
CMYKcmyk(46%, 75.2%, 0%, 55.7%)
CIE-LABlab(20.10, 35.64, -43.12)
CIE-LCHlch(20.10, 55.94, 309.58°)
OKLaboklab(32.71% 0.059 -0.1234)
OKLCHoklch(32.71% 0.137 295.5)
XYZxyz(5.3196, 3.0147, 15.9212)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C71 #50711C
analogous
#1C2571 #3D1C71 #671C71
triadic
#3D1C71 #713D1C #1C713D
tetradic
#3D1C71 #711C25 #50711C #1C7167
square
#3D1C71 #711C25 #50711C #1C7167
split-complementary
#3D1C71 #71671C #25711C
monochromatic
#0D0619 #231040 #3D1C71 #5728A2 #7339CE

Accessibility & contrast

On white

13.10
#3D1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C71
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C71#FFFFFF#000000##FFFFFF
##3D1C711.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#2F3244
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1c71;
/* rgb */ color: rgb(61, 28, 113);
/* oklch */ color: oklch(32.7% 0.137 295.5);
Tailwind
colors: {
  custom: {
    50: '#785b9b',
    500: '#3d1c71',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c71;
$custom-light: #785b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c71",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 263.294,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32709,
    "c": 0.13678,
    "h": 295.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#3D1C71
secondary
#7FA643
accent
#E344A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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