#3D1679#3D1679

#3D1679 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.153 H 294.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#3D1679
RGBrgb(61, 22, 121)
HSLhsl(264, 69%, 28%)
HSVhsv(264, 82%, 47%)
CMYKcmyk(49.6%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.83, 40.84, -48.71)
CIE-LCHlch(19.83, 63.57, 309.98°)
OKLaboklab(32.75% 0.0622 -0.1398)
OKLCHoklch(32.75% 0.153 294)
XYZxyz(5.6616, 2.9462, 18.3558)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1679 #527916
analogous
#162179 #3D1679 #6E1679
triadic
#3D1679 #793D16 #16793D
tetradic
#3D1679 #791621 #527916 #16796E
square
#3D1679 #791621 #527916 #16796E
split-complementary
#3D1679 #796E16 #217916
monochromatic
#0D051A #230D45 #3D1679 #571FAD #7330D9

Accessibility & contrast

On white

13.21
#3D1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1679
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1679#FFFFFF#000000##FFFFFF
##3D16791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#2B3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1679;
/* rgb */ color: rgb(61, 22, 121);
/* oklch */ color: oklch(32.7% 0.153 294.0);
Tailwind
colors: {
  custom: {
    50: '#7a59a1',
    500: '#3d1679',
    950: '#000000',
  },
}
SCSS
$custom: #3d1679;
$custom-light: #7a59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1679",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 263.636,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.15299,
    "h": 294
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#3D1679
secondary
#81AE3D
accent
#EC3CA7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1679

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

Preview Lab → · Contrast checker → · Palette generator →

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