#3D2B4E#3D2B4E

#3D2B4E is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.6% C 0.064 H 306.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#3D2B4E
RGBrgb(61, 43, 78)
HSLhsl(271, 29%, 24%)
HSVhsv(271, 45%, 31%)
CMYKcmyk(21.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(21.09, 16.36, -18.46)
CIE-LCHlch(21.09, 24.67, 311.56°)
OKLaboklab(32.64% 0.0384 -0.0512)
OKLCHoklch(32.64% 0.064 306.9)
XYZxyz(4.1632, 3.2699, 7.6181)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B4E #3C4E2B
analogous
#2B2B4E #3D2B4E #4E2B4D
triadic
#3D2B4E #4E3D2B #2B4E3D
tetradic
#3D2B4E #4E2B2B #3C4E2B #2B4D4E
square
#3D2B4E #4E2B2B #3C4E2B #2B4D4E
split-complementary
#3D2B4E #4D4E2B #2B4E2B
monochromatic
#0F0B14 #1E1527 #3D2B4E #5C4175 #7B569D

Accessibility & contrast

On white

12.70
#3D2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3D2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B4E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B4E#FFFFFF#000000##FFFFFF
##3D2B4E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#3B3038
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d2b4e;
/* rgb */ color: rgb(61, 43, 78);
/* oklch */ color: oklch(32.6% 0.064 306.9);
Tailwind
colors: {
  custom: {
    50: '#73647f',
    500: '#3d2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b4e;
$custom-light: #73647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b4e",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 270.857,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32637,
    "c": 0.06405,
    "h": 306.9
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#3D2B4E
secondary
#6A8055
accent
#C56392
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3D2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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