#3D2B7D#3D2B7D

#3D2B7D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.132 H 288.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#3D2B7D
RGBrgb(61, 43, 125)
HSLhsl(253, 49%, 33%)
HSVhsv(253, 66%, 49%)
CMYKcmyk(51.2%, 65.6%, 0%, 51%)
CIE-LABlab(24.32, 30.55, -43.91)
CIE-LCHlch(24.32, 53.50, 304.82°)
OKLaboklab(36.06% 0.0408 -0.1258)
OKLCHoklch(36.06% 0.132 288)
XYZxyz(6.4889, 4.2002, 19.8669)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B7D #6B7D2B
analogous
#2B427D #3D2B7D #662B7D
triadic
#3D2B7D #7D3D2B #2B7D3D
tetradic
#3D2B7D #7D2B42 #6B7D2B #2B7D66
square
#3D2B7D #7D2B42 #6B7D2B #2B7D66
split-complementary
#3D2B7D #7D662B #427D2B
monochromatic
#110C22 #271B4F #3D2B7D #533BAB #735CC7

Accessibility & contrast

On white

11.41
#3D2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2B7D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B7D#FFFFFF#000000##FFFFFF
##3D2B7D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#273F50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2b7d;
/* rgb */ color: rgb(61, 43, 125);
/* oklch */ color: oklch(36.1% 0.132 288.0);
Tailwind
colors: {
  custom: {
    50: '#7965a3',
    500: '#3d2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b7d;
$custom-light: #7965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b7d",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 253.171,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3606,
    "c": 0.13225,
    "h": 288
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#3D2B7D
secondary
#9AAD57
accent
#D84FBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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