#3D1661#3D1661

#3D1661 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.125 H 303.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#3D1661
RGBrgb(61, 22, 97)
HSLhsl(271, 63%, 23%)
HSVhsv(271, 77%, 38%)
CMYKcmyk(37.1%, 77.3%, 0%, 62%)
CIE-LABlab(17.59, 34.30, -36.74)
CIE-LCHlch(17.59, 50.26, 313.03°)
OKLaboklab(30.49% 0.0689 -0.1046)
OKLCHoklch(30.49% 0.125 303.4)
XYZxyz(4.3685, 2.4290, 11.5456)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1661 #3A6116
analogous
#171661 #3D1661 #61165F
triadic
#3D1661 #613D16 #16613D
tetradic
#3D1661 #611716 #3A6116 #165F61
square
#3D1661 #611716 #3A6116 #165F61
split-complementary
#3D1661 #5F6116 #166117
monochromatic
#100619 #1E0B2F #3D1661 #5C2193 #7C2DC5

Accessibility & contrast

On white

14.13
#3D1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1661
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1661#FFFFFF#000000##FFFFFF
##3D16611.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#36283A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1661;
/* rgb */ color: rgb(61, 22, 97);
/* oklch */ color: oklch(30.5% 0.125 303.4);
Tailwind
colors: {
  custom: {
    50: '#76578e',
    500: '#3d1661',
    950: '#000000',
  },
}
SCSS
$custom: #3d1661;
$custom-light: #76578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1661",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 271.2,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.12527,
    "h": 303.4
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#3D1661
secondary
#68983B
accent
#E64291
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1661

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

Preview Lab → · Contrast checker → · Palette generator →

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