#3D2199#3D2199

#3D2199 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.180 H 284.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3D2199
RGBrgb(61, 33, 153)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 78%, 60%)
CMYKcmyk(60.1%, 78.4%, 0%, 40%)
CIE-LABlab(24.89, 44.84, -60.43)
CIE-LCHlch(24.89, 75.25, 306.58°)
OKLaboklab(37.26% 0.0441 -0.1741)
OKLCHoklch(37.26% 0.18 284.2)
XYZxyz(8.2163, 4.3792, 30.5431)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2199 #7D9921
analogous
#214199 #3D2199 #792199
triadic
#3D2199 #993D21 #21993D
tetradic
#3D2199 #992141 #7D9921 #219979
square
#3D2199 #992141 #7D9921 #219979
split-complementary
#3D2199 #997921 #419921
monochromatic
#150B34 #291667 #3D2199 #512CCB #7859DB

Accessibility & contrast

On white

11.19
#3D2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2199
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2199#FFFFFF#000000##FFFFFF
##3D21991.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#02445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2199;
/* rgb */ color: rgb(61, 33, 153);
/* oklch */ color: oklch(37.3% 0.180 284.2);
Tailwind
colors: {
  custom: {
    50: '#7e60b8',
    500: '#3d2199',
    950: '#000000',
  },
}
SCSS
$custom: #3d2199;
$custom-light: #7e60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2199",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 254,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.17964,
    "h": 284.2
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#3D2199
secondary
#A7BF56
accent
#E840C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D2199

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

Preview Lab → · Contrast checker → · Palette generator →

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