#3D2D83#3D2D83

#3D2D83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.138 H 286.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3D2D83
RGBrgb(61, 45, 131)
HSLhsl(251, 49%, 35%)
HSVhsv(251, 66%, 51%)
CMYKcmyk(53.4%, 65.6%, 0%, 48.6%)
CIE-LABlab(25.28, 31.23, -46.13)
CIE-LCHlch(25.28, 55.71, 304.09°)
OKLaboklab(36.91% 0.0381 -0.1323)
OKLCHoklch(36.91% 0.138 286)
XYZxyz(6.9584, 4.5072, 21.9717)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D83 #73832D
analogous
#2D4883 #3D2D83 #682D83
triadic
#3D2D83 #833D2D #2D833D
tetradic
#3D2D83 #832D48 #73832D #2D8368
square
#3D2D83 #832D48 #73832D #2D8368
split-complementary
#3D2D83 #83682D #48832D
monochromatic
#130E28 #281D55 #3D2D83 #523DB1 #7562C9

Accessibility & contrast

On white

11.04
#3D2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3D2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D83
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D83#FFFFFF#000000##FFFFFF
##3D2D831.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#224253
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2d83;
/* rgb */ color: rgb(61, 45, 131);
/* oklch */ color: oklch(36.9% 0.138 286.0);
Tailwind
colors: {
  custom: {
    50: '#7967a8',
    500: '#3d2d83',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d83;
$custom-light: #7967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d83",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 251.163,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.13767,
    "h": 286
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#3D2D83
secondary
#A0AF5C
accent
#D84FBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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