#3D2F4E#3D2F4E

#3D2F4E is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.5% C 0.056 H 304.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2F4E
RGBrgb(61, 47, 78)
HSLhsl(267, 25%, 25%)
HSVhsv(267, 40%, 31%)
CMYKcmyk(21.8%, 39.7%, 0%, 69.4%)
CIE-LABlab(22.21, 13.66, -16.71)
CIE-LCHlch(22.21, 21.58, 309.27°)
OKLaboklab(33.49% 0.0315 -0.0462)
OKLCHoklch(33.49% 0.056 304.3)
XYZxyz(4.3158, 3.5752, 7.6690)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F4E #404E2F
analogous
#2F314E #3D2F4E #4D2F4E
triadic
#3D2F4E #4E3D2F #2F4E3D
tetradic
#3D2F4E #4E2F31 #404E2F #2F4E4D
square
#3D2F4E #4E2F31 #404E2F #2F4E4D
split-complementary
#3D2F4E #4E4D2F #314E2F
monochromatic
#0F0C13 #1F1828 #3D2F4E #5B4674 #795D9A

Accessibility & contrast

On white

12.24
#3D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F4E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F4E#FFFFFF#000000##FFFFFF
##3D2F4E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#3A343B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d2f4e;
/* rgb */ color: rgb(61, 47, 78);
/* oklch */ color: oklch(33.5% 0.056 304.3);
Tailwind
colors: {
  custom: {
    50: '#73677f',
    500: '#3d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f4e;
$custom-light: #73677f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f4e",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 267.097,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33486,
    "c": 0.05597,
    "h": 304.3
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#3D2F4E
secondary
#6E7F5A
accent
#C16798
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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