#3D1655#3D1655

#3D1655 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.111 H 309.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#3D1655
RGBrgb(61, 22, 85)
HSLhsl(277, 59%, 21%)
HSVhsv(277, 74%, 33%)
CMYKcmyk(28.2%, 74.1%, 0%, 66.7%)
CIE-LABlab(16.61, 31.16, -30.31)
CIE-LCHlch(16.61, 43.47, 315.80°)
OKLaboklab(29.48% 0.0709 -0.0857)
OKLCHoklch(29.48% 0.111 309.6)
XYZxyz(3.8507, 2.2219, 8.8186)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1655 #2E5516
analogous
#1D1655 #3D1655 #55164D
triadic
#3D1655 #553D16 #16553D
tetradic
#3D1655 #551D16 #2E5516 #164D55
square
#3D1655 #551D16 #2E5516 #164D55
split-complementary
#3D1655 #4D5516 #16551D
monochromatic
#110618 #1A0924 #3D1655 #602386 #832FB6

Accessibility & contrast

On white

14.54
#3D1655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D1655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1655
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1655#FFFFFF#000000##FFFFFF
##3D16551.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#3A2333
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1655;
/* rgb */ color: rgb(61, 22, 85);
/* oklch */ color: oklch(29.5% 0.111 309.6);
Tailwind
colors: {
  custom: {
    50: '#755785',
    500: '#3d1655',
    950: '#000000',
  },
}
SCSS
$custom: #3d1655;
$custom-light: #755785;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1655",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 277.143,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29483,
    "c": 0.11124,
    "h": 309.6
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#3D1655
secondary
#5A8C3A
accent
#E24681
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1655

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

Preview Lab → · Contrast checker → · Palette generator →

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