#3D219A#3D219A

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

Color values

HEX#3D219A
RGBrgb(61, 33, 154)
HSLhsl(254, 65%, 37%)
HSVhsv(254, 79%, 60%)
CMYKcmyk(60.4%, 78.6%, 0%, 39.6%)
CIE-LABlab(24.99, 45.14, -60.87)
CIE-LCHlch(24.99, 75.78, 306.56°)
OKLaboklab(37.36% 0.0438 -0.1754)
OKLCHoklch(37.36% 0.181 284)
XYZxyz(8.2993, 4.4124, 30.9799)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D219A #7E9A21
analogous
#21429A #3D219A #7A219A
triadic
#3D219A #9A3D21 #219A3D
tetradic
#3D219A #9A2142 #7E9A21 #219A7A
square
#3D219A #9A2142 #7E9A21 #219A7A
split-complementary
#3D219A #9A7A21 #429A21
monochromatic
#150B35 #291668 #3D219A #512CCC #785ADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D219A#FFFFFF#000000##FFFFFF
##3D219A1.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)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d219a;
/* rgb */ color: rgb(61, 33, 154);
/* oklch */ color: oklch(37.4% 0.181 284.0);
Tailwind
colors: {
  custom: {
    50: '#7e60b9',
    500: '#3d219a',
    950: '#000000',
  },
}
SCSS
$custom: #3d219a;
$custom-light: #7e60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d219a",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 253.884,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.18082,
    "h": 284
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#3D219A
secondary
#A8C057
accent
#E840C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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