#3D1955#3D1955

#3D1955 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.107 H 308.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#3D1955
RGBrgb(61, 25, 85)
HSLhsl(276, 55%, 22%)
HSVhsv(276, 71%, 33%)
CMYKcmyk(28.2%, 70.6%, 0%, 66.7%)
CIE-LABlab(17.19, 29.55, -29.37)
CIE-LCHlch(17.19, 41.66, 315.17°)
OKLaboklab(29.9% 0.067 -0.083)
OKLCHoklch(29.9% 0.107 308.9)
XYZxyz(3.9115, 2.3433, 8.8388)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1955 #315519
analogous
#1F1955 #3D1955 #55194F
triadic
#3D1955 #553D19 #19553D
tetradic
#3D1955 #551F19 #315519 #194F55
square
#3D1955 #551F19 #315519 #194F55
split-complementary
#3D1955 #4F5519 #19551F
monochromatic
#110718 #1B0B26 #3D1955 #5F2784 #8135B4

Accessibility & contrast

On white

14.30
#3D1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1955
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1955#FFFFFF#000000##FFFFFF
##3D19551.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#392534
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1955;
/* rgb */ color: rgb(61, 25, 85);
/* oklch */ color: oklch(29.9% 0.107 308.9);
Tailwind
colors: {
  custom: {
    50: '#755885',
    500: '#3d1955',
    950: '#000000',
  },
}
SCSS
$custom: #3d1955;
$custom-light: #755885;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1955",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 276,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29902,
    "c": 0.10666,
    "h": 308.9
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#3D1955
secondary
#5D8B3E
accent
#DE4A85
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3D1955

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

Preview Lab → · Contrast checker → · Palette generator →

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