#3D2082#3D2082

#3D2082 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.153 H 289.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#3D2082
RGBrgb(61, 32, 130)
HSLhsl(258, 60%, 32%)
HSVhsv(258, 75%, 51%)
CMYKcmyk(53.1%, 75.4%, 0%, 49%)
CIE-LABlab(22.43, 38.49, -50.16)
CIE-LCHlch(22.43, 63.23, 307.50°)
OKLaboklab(34.84% 0.0511 -0.1441)
OKLCHoklch(34.84% 0.153 289.5)
XYZxyz(6.4691, 3.6365, 21.4758)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2082 #658220
analogous
#203482 #3D2082 #6E2082
triadic
#3D2082 #823D20 #20823D
tetradic
#3D2082 #822034 #658220 #20826E
square
#3D2082 #822034 #658220 #20826E
split-complementary
#3D2082 #826E20 #348220
monochromatic
#0F0820 #261451 #3D2082 #542CB3 #724AD2

Accessibility & contrast

On white

12.16
#3D2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2082
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2082#FFFFFF#000000##FFFFFF
##3D20821.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#243A4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2082;
/* rgb */ color: rgb(61, 32, 130);
/* oklch */ color: oklch(34.8% 0.153 289.5);
Tailwind
colors: {
  custom: {
    50: '#7a5ea7',
    500: '#3d2082',
    950: '#000000',
  },
}
SCSS
$custom: #3d2082;
$custom-light: #7a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2082",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 257.755,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34841,
    "c": 0.15289,
    "h": 289.5
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#3D2082
secondary
#95B549
accent
#E444B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2082

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

Preview Lab → · Contrast checker → · Palette generator →

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