#3D2A4E#3D2A4E

#3D2A4E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.4% C 0.066 H 307.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#3D2A4E
RGBrgb(61, 42, 78)
HSLhsl(272, 30%, 24%)
HSVhsv(272, 46%, 31%)
CMYKcmyk(21.8%, 46.2%, 0%, 69.4%)
CIE-LABlab(20.82, 17.03, -18.89)
CIE-LCHlch(20.82, 25.43, 312.05°)
OKLaboklab(32.43% 0.0401 -0.0525)
OKLCHoklch(32.43% 0.066 307.4)
XYZxyz(4.1273, 3.1981, 7.6061)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A4E #3B4E2A
analogous
#2B2A4E #3D2A4E #4E2A4D
triadic
#3D2A4E #4E3D2A #2A4E3D
tetradic
#3D2A4E #4E2B2A #3B4E2A #2A4D4E
square
#3D2A4E #4E2B2A #3B4E2A #2A4D4E
split-complementary
#3D2A4E #4D4E2A #2A4E2B
monochromatic
#100B14 #1E1526 #3D2A4E #5C3F76 #7B559E

Accessibility & contrast

On white

12.81
#3D2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3D2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A4E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A4E#FFFFFF#000000##FFFFFF
##3D2A4E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#3B3038
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d2a4e;
/* rgb */ color: rgb(61, 42, 78);
/* oklch */ color: oklch(32.4% 0.066 307.4);
Tailwind
colors: {
  custom: {
    50: '#73647f',
    500: '#3d2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a4e;
$custom-light: #73647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a4e",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 271.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.06607,
    "h": 307.4
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#3D2A4E
secondary
#698054
accent
#C66291
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3D2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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