#3D2085#3D2085

#3D2085 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.157 H 288.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3D2085
RGBrgb(61, 32, 133)
HSLhsl(257, 61%, 32%)
HSVhsv(257, 76%, 52%)
CMYKcmyk(54.1%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.72, 39.39, -51.58)
CIE-LCHlch(22.72, 64.90, 307.37°)
OKLaboklab(35.13% 0.0504 -0.1483)
OKLCHoklch(35.13% 0.157 288.8)
XYZxyz(6.6734, 3.7183, 22.5518)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2085 #688520
analogous
#203585 #3D2085 #702085
triadic
#3D2085 #853D20 #20853D
tetradic
#3D2085 #852035 #688520 #208570
square
#3D2085 #852035 #688520 #208570
split-complementary
#3D2085 #857020 #358520
monochromatic
#100822 #261454 #3D2085 #542CB6 #734CD4

Accessibility & contrast

On white

12.04
#3D2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2085
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2085#FFFFFF#000000##FFFFFF
##3D20851.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#213B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2085;
/* rgb */ color: rgb(61, 32, 133);
/* oklch */ color: oklch(35.1% 0.157 288.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3d2085',
    950: '#000000',
  },
}
SCSS
$custom: #3d2085;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2085",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 257.228,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.15658,
    "h": 288.8
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#3D2085
secondary
#97B74A
accent
#E443B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2085

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

Preview Lab → · Contrast checker → · Palette generator →

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