#3D1D70#3D1D70

#3D1D70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.134 H 295.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1D70
RGBrgb(61, 29, 112)
HSLhsl(263, 59%, 28%)
HSVhsv(263, 74%, 44%)
CMYKcmyk(45.5%, 74.1%, 0%, 56.1%)
CIE-LABlab(20.21, 34.81, -42.31)
CIE-LCHlch(20.21, 54.79, 309.45°)
OKLaboklab(32.75% 0.0582 -0.121)
OKLCHoklch(32.75% 0.134 295.7)
XYZxyz(5.2877, 3.0406, 15.6344)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D70 #50701D
analogous
#1D2670 #3D1D70 #671D70
triadic
#3D1D70 #703D1D #1D703D
tetradic
#3D1D70 #701D26 #50701D #1D7067
square
#3D1D70 #701D26 #50701D #1D7067
split-complementary
#3D1D70 #70671D #26701D
monochromatic
#0D0618 #23103F #3D1D70 #572AA1 #733BCC

Accessibility & contrast

On white

13.06
#3D1D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D1D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D70
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D70#FFFFFF#000000##FFFFFF
##3D1D701.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#2F3244
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1d70;
/* rgb */ color: rgb(61, 29, 112);
/* oklch */ color: oklch(32.8% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#785c9a',
    500: '#3d1d70',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d70;
$custom-light: #785c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d70",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 263.133,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.13428,
    "h": 295.7
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#3D1D70
secondary
#7FA444
accent
#E246A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1D70

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

Preview Lab → · Contrast checker → · Palette generator →

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