#3D2B85#3D2B85

#3D2B85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.143 H 286.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3D2B85
RGBrgb(61, 43, 133)
HSLhsl(252, 51%, 35%)
HSVhsv(252, 68%, 52%)
CMYKcmyk(54.1%, 67.7%, 0%, 47.8%)
CIE-LABlab(24.99, 33.10, -47.86)
CIE-LCHlch(24.99, 58.19, 304.67°)
OKLaboklab(36.75% 0.0399 -0.1374)
OKLCHoklch(36.75% 0.143 286.2)
XYZxyz(7.0207, 4.4129, 22.6676)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B85 #73852B
analogous
#2B4685 #3D2B85 #6A2B85
triadic
#3D2B85 #853D2B #2B853D
tetradic
#3D2B85 #852B46 #73852B #2B856A
square
#3D2B85 #852B46 #73852B #2B856A
split-complementary
#3D2B85 #856A2B #46852B
monochromatic
#130D29 #281C57 #3D2B85 #523AB3 #755FCB

Accessibility & contrast

On white

11.15
#3D2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B85
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B85#FFFFFF#000000##FFFFFF
##3D2B851.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#204154
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2b85;
/* rgb */ color: rgb(61, 43, 133);
/* oklch */ color: oklch(36.8% 0.143 286.2);
Tailwind
colors: {
  custom: {
    50: '#7a65a9',
    500: '#3d2b85',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b85;
$custom-light: #7a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b85",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 252,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.14307,
    "h": 286.2
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#3D2B85
secondary
#A0B15B
accent
#DB4DBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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