#3D2084#3D2084

#3D2084 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.155 H 289.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#3D2084
RGBrgb(61, 32, 132)
HSLhsl(257, 61%, 32%)
HSVhsv(257, 76%, 52%)
CMYKcmyk(53.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(22.62, 39.09, -51.11)
CIE-LCHlch(22.62, 64.34, 307.41°)
OKLaboklab(35.03% 0.0506 -0.1469)
OKLCHoklch(35.03% 0.155 289)
XYZxyz(6.6046, 3.6908, 22.1897)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2084 #678420
analogous
#203584 #3D2084 #6F2084
triadic
#3D2084 #843D20 #20843D
tetradic
#3D2084 #842035 #678420 #20846F
square
#3D2084 #842035 #678420 #20846F
split-complementary
#3D2084 #846F20 #358420
monochromatic
#0F0821 #261453 #3D2084 #542CB5 #734BD3

Accessibility & contrast

On white

12.08
#3D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2084
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2084#FFFFFF#000000##FFFFFF
##3D20841.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#223B50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2084;
/* rgb */ color: rgb(61, 32, 132);
/* oklch */ color: oklch(35.0% 0.155 289.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3d2084',
    950: '#000000',
  },
}
SCSS
$custom: #3d2084;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2084",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 257.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.15535,
    "h": 289
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#3D2084
secondary
#97B64A
accent
#E444B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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