#3D2192#3D2192

#3D2192 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.171 H 285.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3D2192
RGBrgb(61, 33, 146)
HSLhsl(255, 63%, 35%)
HSVhsv(255, 77%, 57%)
CMYKcmyk(58.2%, 77.4%, 0%, 42.7%)
CIE-LABlab(24.18, 42.75, -57.29)
CIE-LCHlch(24.18, 71.48, 306.73°)
OKLaboklab(36.54% 0.0461 -0.165)
OKLCHoklch(36.54% 0.171 285.6)
XYZxyz(7.6551, 4.1547, 27.5871)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2192 #769221
analogous
#213E92 #3D2192 #752192
triadic
#3D2192 #923D21 #21923D
tetradic
#3D2192 #92213E #769221 #219275
square
#3D2192 #92213E #769221 #219275
split-complementary
#3D2192 #927521 #3E9221
monochromatic
#130A2E #281660 #3D2192 #522CC4 #7555D9

Accessibility & contrast

On white

11.47
#3D2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2192
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2192#FFFFFF#000000##FFFFFF
##3D21921.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#124158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2192;
/* rgb */ color: rgb(61, 33, 146);
/* oklch */ color: oklch(36.5% 0.171 285.6);
Tailwind
colors: {
  custom: {
    50: '#7d60b3',
    500: '#3d2192',
    950: '#000000',
  },
}
SCSS
$custom: #3d2192;
$custom-light: #7d60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2192",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 254.867,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.17128,
    "h": 285.6
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#3D2192
secondary
#A2BC53
accent
#E642BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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