#3D2175#3D2175

#3D2175 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.135 H 293.0°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#3D2175
RGBrgb(61, 33, 117)
HSLhsl(260, 56%, 29%)
HSVhsv(260, 72%, 46%)
CMYKcmyk(47.9%, 71.8%, 0%, 54.1%)
CIE-LABlab(21.45, 34.06, -43.50)
CIE-LCHlch(21.45, 55.25, 308.06°)
OKLaboklab(33.78% 0.0529 -0.1246)
OKLCHoklch(33.78% 0.135 293)
XYZxyz(5.6783, 3.3640, 17.1763)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2175 #597521
analogous
#212F75 #3D2175 #672175
triadic
#3D2175 #753D21 #21753D
tetradic
#3D2175 #75212F #597521 #217567
square
#3D2175 #75212F #597521 #217567
split-complementary
#3D2175 #756721 #2F7521
monochromatic
#0C0718 #241445 #3D2175 #562EA5 #7246CB

Accessibility & contrast

On white

12.55
#3D2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2175
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2175#FFFFFF#000000##FFFFFF
##3D21751.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#2C3648
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d2175;
/* rgb */ color: rgb(61, 33, 117);
/* oklch */ color: oklch(33.8% 0.135 293.0);
Tailwind
colors: {
  custom: {
    50: '#785f9d',
    500: '#3d2175',
    950: '#000000',
  },
}
SCSS
$custom: #3d2175;
$custom-light: #785f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2175",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 260,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.13534,
    "h": 293
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#3D2175
secondary
#89A84A
accent
#DF49AD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D2175

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

Preview Lab → · Contrast checker → · Palette generator →

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