#3D1779#3D1779

#3D1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.152 H 293.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#3D1779
RGBrgb(61, 23, 121)
HSLhsl(263, 68%, 28%)
HSVhsv(263, 81%, 47%)
CMYKcmyk(49.6%, 81%, 0%, 52.5%)
CIE-LABlab(19.98, 40.39, -48.46)
CIE-LCHlch(19.98, 63.08, 309.81°)
OKLaboklab(32.86% 0.0614 -0.139)
OKLCHoklch(32.86% 0.152 293.8)
XYZxyz(5.6811, 2.9852, 18.3623)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1779 #537917
analogous
#172279 #3D1779 #6E1779
triadic
#3D1779 #793D17 #17793D
tetradic
#3D1779 #791722 #537917 #17796E
square
#3D1779 #791722 #537917 #17796E
split-complementary
#3D1779 #796E17 #227917
monochromatic
#0D051A #230D46 #3D1779 #5721AC #7332D8

Accessibility & contrast

On white

13.15
#3D1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1779
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1779#FFFFFF#000000##FFFFFF
##3D17791.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1779;
/* rgb */ color: rgb(61, 23, 121);
/* oklch */ color: oklch(32.9% 0.152 293.8);
Tailwind
colors: {
  custom: {
    50: '#7a59a1',
    500: '#3d1779',
    950: '#000000',
  },
}
SCSS
$custom: #3d1779;
$custom-light: #7a59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1779",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 263.265,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.15198,
    "h": 293.8
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#3D1779
secondary
#83AE3E
accent
#EB3DA7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1779

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

Preview Lab → · Contrast checker → · Palette generator →

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