#3D2D8D#3D2D8D

#3D2D8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.151 H 284.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3D2D8D
RGBrgb(61, 45, 141)
HSLhsl(250, 52%, 36%)
HSVhsv(250, 68%, 55%)
CMYKcmyk(56.7%, 68.1%, 0%, 44.7%)
CIE-LABlab(26.13, 34.45, -50.98)
CIE-LCHlch(26.13, 61.53, 304.05°)
OKLaboklab(37.79% 0.0369 -0.1466)
OKLCHoklch(37.79% 0.151 284.1)
XYZxyz(7.6691, 4.7915, 25.7149)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D8D #7D8D2D
analogous
#2D4D8D #3D2D8D #6D2D8D
triadic
#3D2D8D #8D3D2D #2D8D3D
tetradic
#3D2D8D #8D2D4D #7D8D2D #2D8D6D
square
#3D2D8D #8D2D4D #7D8D2D #2D8D6D
split-complementary
#3D2D8D #8D6D2D #4D8D2D
monochromatic
#150F30 #291E5F #3D2D8D #513CBB #7866CE

Accessibility & contrast

On white

10.72
#3D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D8D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D8D#FFFFFF#000000##FFFFFF
##3D2D8D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#184559
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2d8d;
/* rgb */ color: rgb(61, 45, 141);
/* oklch */ color: oklch(37.8% 0.151 284.1);
Tailwind
colors: {
  custom: {
    50: '#7b67af',
    500: '#3d2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d8d;
$custom-light: #7b67af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d8d",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 250,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37793,
    "c": 0.15112,
    "h": 284.1
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#3D2D8D
secondary
#A7B561
accent
#DB4DC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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