#3D2983#3D2983

#3D2983 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.143 H 287.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3D2983
RGBrgb(61, 41, 131)
HSLhsl(253, 52%, 34%)
HSVhsv(253, 69%, 51%)
CMYKcmyk(53.4%, 68.7%, 0%, 48.6%)
CIE-LABlab(24.37, 33.67, -47.61)
CIE-LCHlch(24.37, 58.32, 305.27°)
OKLaboklab(36.25% 0.0423 -0.1366)
OKLCHoklch(36.25% 0.143 287.2)
XYZxyz(6.8129, 4.2163, 21.9232)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2983 #6F8329
analogous
#294283 #3D2983 #6A2983
triadic
#3D2983 #833D29 #29833D
tetradic
#3D2983 #832942 #6F8329 #29836A
square
#3D2983 #832942 #6F8329 #29836A
split-complementary
#3D2983 #836A29 #428329
monochromatic
#120C26 #271A54 #3D2983 #5338B2 #745BCC

Accessibility & contrast

On white

11.39
#3D2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2983
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2983#FFFFFF#000000##FFFFFF
##3D29831.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#223F52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2983;
/* rgb */ color: rgb(61, 41, 131);
/* oklch */ color: oklch(36.3% 0.143 287.2);
Tailwind
colors: {
  custom: {
    50: '#7a64a8',
    500: '#3d2983',
    950: '#000000',
  },
}
SCSS
$custom: #3d2983;
$custom-light: #7a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2983",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 253.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36255,
    "c": 0.14303,
    "h": 287.2
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#3D2983
secondary
#9DB157
accent
#DC4CBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3D2983

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

Preview Lab → · Contrast checker → · Palette generator →

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