#3D2371#3D2371

#3D2371 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.127 H 293.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#3D2371
RGBrgb(61, 35, 113)
HSLhsl(260, 53%, 29%)
HSVhsv(260, 69%, 44%)
CMYKcmyk(46%, 69%, 0%, 55.7%)
CIE-LABlab(21.53, 31.69, -40.80)
CIE-LCHlch(21.53, 51.66, 307.84°)
OKLaboklab(33.73% 0.0513 -0.1166)
OKLCHoklch(33.73% 0.127 293.8)
XYZxyz(5.5053, 3.3863, 15.9831)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2371 #577123
analogous
#233071 #3D2371 #642371
triadic
#3D2371 #713D23 #23713D
tetradic
#3D2371 #712330 #577123 #237164
square
#3D2371 #712330 #577123 #237164
split-complementary
#3D2371 #716423 #307123
monochromatic
#0D0717 #241542 #3D2371 #5631A0 #7248C6

Accessibility & contrast

On white

12.52
#3D2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3D2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2371
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2371#FFFFFF#000000##FFFFFF
##3D23711.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#2E3646
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d2371;
/* rgb */ color: rgb(61, 35, 113);
/* oklch */ color: oklch(33.7% 0.127 293.8);
Tailwind
colors: {
  custom: {
    50: '#77609a',
    500: '#3d2371',
    950: '#000000',
  },
}
SCSS
$custom: #3d2371;
$custom-light: #77609a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2371",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 260,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33728,
    "c": 0.12742,
    "h": 293.8
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#3D2371
secondary
#87A44C
accent
#DC4CAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2371

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

Preview Lab → · Contrast checker → · Palette generator →

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