#3D2193#3D2193

#3D2193 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.172 H 285.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3D2193
RGBrgb(61, 33, 147)
HSLhsl(255, 63%, 35%)
HSVhsv(255, 78%, 58%)
CMYKcmyk(58.5%, 77.6%, 0%, 42.4%)
CIE-LABlab(24.28, 43.05, -57.74)
CIE-LCHlch(24.28, 72.02, 306.71°)
OKLaboklab(36.65% 0.0458 -0.1663)
OKLCHoklch(36.65% 0.172 285.4)
XYZxyz(7.7332, 4.1859, 27.9986)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2193 #779321
analogous
#213E93 #3D2193 #762193
triadic
#3D2193 #933D21 #21933D
tetradic
#3D2193 #93213E #779321 #219376
square
#3D2193 #93213E #779321 #219376
split-complementary
#3D2193 #937621 #3E9321
monochromatic
#140B2F #281661 #3D2193 #522CC5 #7655D9

Accessibility & contrast

On white

11.43
#3D2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2193
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2193#FFFFFF#000000##FFFFFF
##3D21931.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#104159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2193;
/* rgb */ color: rgb(61, 33, 147);
/* oklch */ color: oklch(36.6% 0.172 285.4);
Tailwind
colors: {
  custom: {
    50: '#7d60b4',
    500: '#3d2193',
    950: '#000000',
  },
}
SCSS
$custom: #3d2193;
$custom-light: #7d60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2193",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 254.737,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36645,
    "c": 0.17248,
    "h": 285.4
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#3D2193
secondary
#A3BD53
accent
#E641BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2193

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

Preview Lab → · Contrast checker → · Palette generator →

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