#3D1680#3D1680

#3D1680 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.161 H 291.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#3D1680
RGBrgb(61, 22, 128)
HSLhsl(262, 71%, 29%)
HSVhsv(262, 83%, 50%)
CMYKcmyk(52.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(20.53, 42.78, -52.01)
CIE-LCHlch(20.53, 67.34, 309.44°)
OKLaboklab(33.45% 0.0598 -0.1494)
OKLCHoklch(33.45% 0.161 291.8)
XYZxyz(6.1066, 3.1242, 20.6992)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1680 #598016
analogous
#162480 #3D1680 #721680
triadic
#3D1680 #803D16 #16803D
tetradic
#3D1680 #801624 #598016 #168072
square
#3D1680 #801624 #598016 #168072
split-complementary
#3D1680 #807216 #248016
monochromatic
#0C041A #240D4C #3D1680 #561FB4 #7234DC

Accessibility & contrast

On white

12.92
#3D1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1680
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1680#FFFFFF#000000##FFFFFF
##3D16801.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#26354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1680;
/* rgb */ color: rgb(61, 22, 128);
/* oklch */ color: oklch(33.5% 0.161 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b59a6',
    500: '#3d1680',
    950: '#000000',
  },
}
SCSS
$custom: #3d1680;
$custom-light: #7b59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1680",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 262.075,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33453,
    "c": 0.16095,
    "h": 291.8
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#3D1680
secondary
#89B53D
accent
#ED3AAC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1680

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

Preview Lab → · Contrast checker → · Palette generator →

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