#3D1971#3D1971

#3D1971 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.140 H 296.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3D1971
RGBrgb(61, 25, 113)
HSLhsl(265, 64%, 27%)
HSVhsv(265, 78%, 44%)
CMYKcmyk(46%, 77.9%, 0%, 55.7%)
CIE-LABlab(19.55, 37.19, -44.02)
CIE-LCHlch(19.55, 57.62, 310.19°)
OKLaboklab(32.32% 0.062 -0.126)
OKLCHoklch(32.32% 0.14 296.2)
XYZxyz(5.2519, 2.8795, 15.8987)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1971 #4D7119
analogous
#192171 #3D1971 #691971
triadic
#3D1971 #713D19 #19713D
tetradic
#3D1971 #711921 #4D7119 #197169
square
#3D1971 #711921 #4D7119 #197169
split-complementary
#3D1971 #716919 #217119
monochromatic
#0E0619 #220E3F #3D1971 #5824A3 #7433D2

Accessibility & contrast

On white

13.32
#3D1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1971
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1971#FFFFFF#000000##FFFFFF
##3D19711.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#2F3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1971;
/* rgb */ color: rgb(61, 25, 113);
/* oklch */ color: oklch(32.3% 0.140 296.2);
Tailwind
colors: {
  custom: {
    50: '#785a9b',
    500: '#3d1971',
    950: '#000000',
  },
}
SCSS
$custom: #3d1971;
$custom-light: #785a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1971",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 264.545,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.14043,
    "h": 296.2
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#3D1971
secondary
#7CA640
accent
#E741A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1971

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

Preview Lab → · Contrast checker → · Palette generator →

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