#3D1B60#3D1B60

#3D1B60 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.1% C 0.117 H 302.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3D1B60
RGBrgb(61, 27, 96)
HSLhsl(270, 56%, 24%)
HSVhsv(270, 72%, 38%)
CMYKcmyk(36.5%, 71.9%, 0%, 62.4%)
CIE-LABlab(18.45, 31.39, -34.68)
CIE-LCHlch(18.45, 46.78, 312.14°)
OKLaboklab(31.08% 0.0633 -0.0986)
OKLCHoklch(31.08% 0.117 302.7)
XYZxyz(4.4272, 2.6205, 11.3366)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B60 #3E601B
analogous
#1B1C60 #3D1B60 #601B60
triadic
#3D1B60 #603D1B #1B603D
tetradic
#3D1B60 #601B1C #3E601B #1B6060
square
#3D1B60 #601B1C #3E601B #1B6060
split-complementary
#3D1B60 #60601B #1C601B
monochromatic
#0F0718 #1F0E30 #3D1B60 #5B2890 #7A36C0

Accessibility & contrast

On white

13.78
#3D1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B60
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B60#FFFFFF#000000##FFFFFF
##3D1B601.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#362B3B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1b60;
/* rgb */ color: rgb(61, 27, 96);
/* oklch */ color: oklch(31.1% 0.117 302.7);
Tailwind
colors: {
  custom: {
    50: '#765a8e',
    500: '#3d1b60',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b60;
$custom-light: #765a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b60",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 269.565,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3108,
    "c": 0.11715,
    "h": 302.7
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#3D1B60
secondary
#6C9641
accent
#DF4895
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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