#3D2195#3D2195

#3D2195 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.175 H 285.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3D2195
RGBrgb(61, 33, 149)
HSLhsl(254, 64%, 36%)
HSVhsv(254, 78%, 58%)
CMYKcmyk(59.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(24.48, 43.65, -58.64)
CIE-LCHlch(24.48, 73.10, 306.66°)
OKLaboklab(36.85% 0.0452 -0.1689)
OKLCHoklch(36.85% 0.175 285)
XYZxyz(7.8915, 4.2493, 28.8323)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2195 #799521
analogous
#213F95 #3D2195 #772195
triadic
#3D2195 #953D21 #21953D
tetradic
#3D2195 #95213F #799521 #219577
square
#3D2195 #95213F #799521 #219577
split-complementary
#3D2195 #957721 #3F9521
monochromatic
#140B31 #281663 #3D2195 #522CC7 #7657DA

Accessibility & contrast

On white

11.35
#3D2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2195
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2195#FFFFFF#000000##FFFFFF
##3D21951.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#0C425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2195;
/* rgb */ color: rgb(61, 33, 149);
/* oklch */ color: oklch(36.8% 0.175 285.0);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3d2195',
    950: '#000000',
  },
}
SCSS
$custom: #3d2195;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2195",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 254.483,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.17488,
    "h": 285
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#3D2195
secondary
#A4BE54
accent
#E741BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2195

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

Preview Lab → · Contrast checker → · Palette generator →

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