#3D1683#3D1683

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

Color values

HEX#3D1683
RGBrgb(61, 22, 131)
HSLhsl(261, 71%, 30%)
HSVhsv(261, 83%, 51%)
CMYKcmyk(53.4%, 83.2%, 0%, 48.6%)
CIE-LABlab(20.84, 43.61, -53.40)
CIE-LCHlch(20.84, 68.94, 309.24°)
OKLaboklab(33.76% 0.0588 -0.1535)
OKLCHoklch(33.76% 0.164 290.9)
XYZxyz(6.3069, 3.2043, 21.7545)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1683 #5C8316
analogous
#162583 #3D1683 #741683
triadic
#3D1683 #833D16 #16833D
tetradic
#3D1683 #831625 #5C8316 #168374
square
#3D1683 #831625 #5C8316 #168374
split-complementary
#3D1683 #837416 #258316
monochromatic
#0C041A #250D4F #3D1683 #551FB7 #7236DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D1683#FFFFFF#000000##FFFFFF
##3D16831.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)
#003486
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#24364D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1683;
/* rgb */ color: rgb(61, 22, 131);
/* oklch */ color: oklch(33.8% 0.164 290.9);
Tailwind
colors: {
  custom: {
    50: '#7b59a8',
    500: '#3d1683',
    950: '#000000',
  },
}
SCSS
$custom: #3d1683;
$custom-light: #7b59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1683",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 261.468,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.33761,
    "c": 0.16434,
    "h": 290.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#3D1683
secondary
#8CB73D
accent
#EE3AAE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1683

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

Preview Lab → · Contrast checker → · Palette generator →

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