#3D219F#3D219F

#3D219F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.187 H 283.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3D219F
RGBrgb(61, 33, 159)
HSLhsl(253, 66%, 38%)
HSVhsv(253, 79%, 62%)
CMYKcmyk(61.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(25.51, 46.62, -63.07)
CIE-LCHlch(25.51, 78.43, 306.47°)
OKLaboklab(37.88% 0.0423 -0.1819)
OKLCHoklch(37.88% 0.187 283.1)
XYZxyz(8.7244, 4.5824, 33.2189)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D219F #839F21
analogous
#21449F #3D219F #7C219F
triadic
#3D219F #9F3D21 #219F3D
tetradic
#3D219F #9F2144 #839F21 #219F7C
square
#3D219F #9F2144 #839F21 #219F7C
split-complementary
#3D219F #9F7C21 #449F21
monochromatic
#160C3A #2A166C #3D219F #502CD2 #7A5DDD

Accessibility & contrast

On white

10.96
#3D219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D219F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D219F#FFFFFF#000000##FFFFFF
##3D219F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d219f;
/* rgb */ color: rgb(61, 33, 159);
/* oklch */ color: oklch(37.9% 0.187 283.1);
Tailwind
colors: {
  custom: {
    50: '#7f61bd',
    500: '#3d219f',
    950: '#000000',
  },
}
SCSS
$custom: #3d219f;
$custom-light: #7f61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d219f",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 253.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.18672,
    "h": 283.1
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#3D219F
secondary
#ABC25A
accent
#E93FC3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D219F

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

Preview Lab → · Contrast checker → · Palette generator →

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