#3D2D64#3D2D64

#3D2D64 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.5% C 0.093 H 294.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3D2D64
RGBrgb(61, 45, 100)
HSLhsl(257, 38%, 28%)
HSVhsv(257, 55%, 39%)
CMYKcmyk(39%, 55%, 0%, 60.8%)
CIE-LABlab(22.96, 21.42, -30.06)
CIE-LCHlch(22.96, 36.91, 305.47°)
OKLaboklab(34.47% 0.0386 -0.0851)
OKLCHoklch(34.47% 0.093 294.4)
XYZxyz(5.1625, 3.7889, 12.5135)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D64 #54642D
analogous
#2D3864 #3D2D64 #582D64
triadic
#3D2D64 #643D2D #2D643D
tetradic
#3D2D64 #642D38 #54642D #2D6458
square
#3D2D64 #642D38 #54642D #2D6458
split-complementary
#3D2D64 #64582D #38642D
monochromatic
#0D0915 #231A3A #3D2D64 #57408E #7258B4

Accessibility & contrast

On white

11.95
#3D2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D64
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D64#FFFFFF#000000##FFFFFF
##3D2D641.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173766
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#343844
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2d64;
/* rgb */ color: rgb(61, 45, 100);
/* oklch */ color: oklch(34.5% 0.093 294.4);
Tailwind
colors: {
  custom: {
    50: '#756690',
    500: '#3d2d64',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d64;
$custom-light: #756690;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d64",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 257.455,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34468,
    "c": 0.09341,
    "h": 294.4
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#3D2D64
secondary
#849657
accent
#CE5AAC
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3D2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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