#3D2083#3D2083

#3D2083 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.154 H 289.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3D2083
RGBrgb(61, 32, 131)
HSLhsl(258, 61%, 32%)
HSVhsv(258, 76%, 51%)
CMYKcmyk(53.4%, 75.6%, 0%, 48.6%)
CIE-LABlab(22.53, 38.79, -50.63)
CIE-LCHlch(22.53, 63.78, 307.46°)
OKLaboklab(34.94% 0.0509 -0.1455)
OKLCHoklch(34.94% 0.154 289.3)
XYZxyz(6.5365, 3.6635, 21.8310)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2083 #668320
analogous
#203583 #3D2083 #6F2083
triadic
#3D2083 #833D20 #20833D
tetradic
#3D2083 #832035 #668320 #20836F
square
#3D2083 #832035 #668320 #20836F
split-complementary
#3D2083 #836F20 #358320
monochromatic
#0F0821 #261452 #3D2083 #542CB4 #724AD3

Accessibility & contrast

On white

12.12
#3D2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2083
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2083#FFFFFF#000000##FFFFFF
##3D20831.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#233B4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2083;
/* rgb */ color: rgb(61, 32, 131);
/* oklch */ color: oklch(34.9% 0.154 289.3);
Tailwind
colors: {
  custom: {
    50: '#7a5fa8',
    500: '#3d2083',
    950: '#000000',
  },
}
SCSS
$custom: #3d2083;
$custom-light: #7a5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2083",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 257.576,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34937,
    "c": 0.15412,
    "h": 289.3
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#3D2083
secondary
#96B649
accent
#E444B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2083

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

Preview Lab → · Contrast checker → · Palette generator →

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