#3D1E75#3D1E75

#3D1E75 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.139 H 293.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3D1E75
RGBrgb(61, 30, 117)
HSLhsl(261, 59%, 29%)
HSVhsv(261, 74%, 46%)
CMYKcmyk(47.9%, 74.4%, 0%, 54.1%)
CIE-LABlab(20.85, 35.73, -44.48)
CIE-LCHlch(20.85, 57.05, 308.77°)
OKLaboklab(33.35% 0.0561 -0.1274)
OKLCHoklch(33.35% 0.139 293.7)
XYZxyz(5.5987, 3.2048, 17.1498)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E75 #56751E
analogous
#1E2B75 #3D1E75 #691E75
triadic
#3D1E75 #753D1E #1E753D
tetradic
#3D1E75 #751E2B #56751E #1E7569
square
#3D1E75 #751E2B #56751E #1E7569
split-complementary
#3D1E75 #75691E #2B751E
monochromatic
#0D0618 #241244 #3D1E75 #562AA6 #7240CE

Accessibility & contrast

On white

12.80
#3D1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3D1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E75
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E75#FFFFFF#000000##FFFFFF
##3D1E751.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#2D3447
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1e75;
/* rgb */ color: rgb(61, 30, 117);
/* oklch */ color: oklch(33.3% 0.139 293.7);
Tailwind
colors: {
  custom: {
    50: '#785d9e',
    500: '#3d1e75',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e75;
$custom-light: #785d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e75",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 261.379,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33348,
    "c": 0.13921,
    "h": 293.7
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#3D1E75
secondary
#86A946
accent
#E245AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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