#3D1B59#3D1B59

#3D1B59 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.108 H 306.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3D1B59
RGBrgb(61, 27, 89)
HSLhsl(273, 53%, 23%)
HSVhsv(273, 70%, 35%)
CMYKcmyk(31.5%, 69.7%, 0%, 65.1%)
CIE-LABlab(17.91, 29.48, -30.91)
CIE-LCHlch(17.91, 42.71, 313.65°)
OKLaboklab(30.51% 0.064 -0.0875)
OKLCHoklch(30.51% 0.108 306.2)
XYZxyz(4.1192, 2.4973, 9.7143)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B59 #37591B
analogous
#1E1B59 #3D1B59 #591B56
triadic
#3D1B59 #593D1B #1B593D
tetradic
#3D1B59 #591E1B #37591B #1B5659
square
#3D1B59 #591E1B #37591B #1B5659
split-complementary
#3D1B59 #56591B #1B591E
monochromatic
#100717 #1D0D2A #3D1B59 #5D2988 #7D37B7

Accessibility & contrast

On white

14.01
#3D1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3D1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B59
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B59#FFFFFF#000000##FFFFFF
##3D1B591.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#0C2C58
Tritanopia (blue-blind)
#382837
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1b59;
/* rgb */ color: rgb(61, 27, 89);
/* oklch */ color: oklch(30.5% 0.108 306.2);
Tailwind
colors: {
  custom: {
    50: '#755a88',
    500: '#3d1b59',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b59;
$custom-light: #755a88;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b59",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 272.903,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.10844,
    "h": 306.2
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#3D1B59
secondary
#648F41
accent
#DD4B8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #3D1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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