#3D1664#3D1664

#3D1664 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.129 H 302.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#3D1664
RGBrgb(61, 22, 100)
HSLhsl(270, 64%, 24%)
HSVhsv(270, 78%, 39%)
CMYKcmyk(39%, 78%, 0%, 60.8%)
CIE-LABlab(17.86, 35.10, -38.30)
CIE-LCHlch(17.86, 51.95, 312.51°)
OKLaboklab(30.76% 0.0682 -0.1092)
OKLCHoklch(30.76% 0.129 302)
XYZxyz(4.5111, 2.4860, 12.2963)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1664 #3D6416
analogous
#161664 #3D1664 #641664
triadic
#3D1664 #643D16 #16643D
tetradic
#3D1664 #641616 #3D6416 #166464
square
#3D1664 #641616 #3D6416 #166464
split-complementary
#3D1664 #646416 #166416
monochromatic
#0F0619 #1E0B32 #3D1664 #5C2196 #7A2CC8

Accessibility & contrast

On white

14.03
#3D1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1664
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1664#FFFFFF#000000##FFFFFF
##3D16641.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#35293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1664;
/* rgb */ color: rgb(61, 22, 100);
/* oklch */ color: oklch(30.8% 0.129 302.0);
Tailwind
colors: {
  custom: {
    50: '#775791',
    500: '#3d1664',
    950: '#000000',
  },
}
SCSS
$custom: #3d1664;
$custom-light: #775791;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1664",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 270,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30759,
    "c": 0.12877,
    "h": 302
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#3D1664
secondary
#6B9B3B
accent
#E74194
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1664

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

Preview Lab → · Contrast checker → · Palette generator →

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