#3D1666#3D1666

#3D1666 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.131 H 301.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#3D1666
RGBrgb(61, 22, 102)
HSLhsl(269, 65%, 24%)
HSVhsv(269, 78%, 40%)
CMYKcmyk(40.2%, 78.4%, 0%, 60%)
CIE-LABlab(18.03, 35.64, -39.33)
CIE-LCHlch(18.03, 53.08, 312.18°)
OKLaboklab(30.94% 0.0677 -0.1122)
OKLCHoklch(30.94% 0.131 301.1)
XYZxyz(4.6091, 2.5252, 12.8124)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1666 #3F6616
analogous
#161766 #3D1666 #651666
triadic
#3D1666 #663D16 #16663D
tetradic
#3D1666 #661617 #3F6616 #166665
square
#3D1666 #661617 #3F6616 #166665
split-complementary
#3D1666 #666516 #176616
monochromatic
#0F0519 #1F0B34 #3D1666 #5B2198 #792CCB

Accessibility & contrast

On white

13.95
#3D1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1666
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1666#FFFFFF#000000##FFFFFF
##3D16661.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#342A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1666;
/* rgb */ color: rgb(61, 22, 102);
/* oklch */ color: oklch(30.9% 0.131 301.1);
Tailwind
colors: {
  custom: {
    50: '#775892',
    500: '#3d1666',
    950: '#000000',
  },
}
SCSS
$custom: #3d1666;
$custom-light: #775892;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1666",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 269.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.1311,
    "h": 301.1
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#3D1666
secondary
#6D9D3B
accent
#E84096
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1666

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

Preview Lab → · Contrast checker → · Palette generator →

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