#3D2E83#3D2E83

#3D2E83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.136 H 285.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3D2E83
RGBrgb(61, 46, 131)
HSLhsl(251, 48%, 35%)
HSVhsv(251, 65%, 51%)
CMYKcmyk(53.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(25.52, 30.60, -45.75)
CIE-LCHlch(25.52, 55.04, 303.78°)
OKLaboklab(37.08% 0.037 -0.1312)
OKLCHoklch(37.08% 0.136 285.7)
XYZxyz(6.9970, 4.5844, 21.9845)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E83 #74832E
analogous
#2E4A83 #3D2E83 #682E83
triadic
#3D2E83 #833D2E #2E833D
tetradic
#3D2E83 #832E4A #74832E #2E8368
square
#3D2E83 #832E4A #74832E #2E8368
split-complementary
#3D2E83 #83682E #4A832E
monochromatic
#130E28 #281E56 #3D2E83 #523EB0 #7563C8

Accessibility & contrast

On white

10.95
#3D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E83
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E83#FFFFFF#000000##FFFFFF
##3D2E831.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#224254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2e83;
/* rgb */ color: rgb(61, 46, 131);
/* oklch */ color: oklch(37.1% 0.136 285.7);
Tailwind
colors: {
  custom: {
    50: '#7967a8',
    500: '#3d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e83;
$custom-light: #7967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e83",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 250.588,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.13629,
    "h": 285.7
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#3D2E83
secondary
#A1AF5E
accent
#D850C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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