#3D1977#3D1977

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

Color values

HEX#3D1977
RGBrgb(61, 25, 119)
HSLhsl(263, 65%, 28%)
HSVhsv(263, 79%, 47%)
CMYKcmyk(48.7%, 79%, 0%, 53.3%)
CIE-LABlab(20.12, 38.88, -46.95)
CIE-LCHlch(20.12, 60.96, 309.63°)
OKLaboklab(32.89% 0.0603 -0.1346)
OKLCHoklch(32.89% 0.148 294.1)
XYZxyz(5.6010, 3.0191, 17.7368)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1977 #537719
analogous
#192477 #3D1977 #6C1977
triadic
#3D1977 #773D19 #19773D
tetradic
#3D1977 #771924 #537719 #19776C
square
#3D1977 #771924 #537719 #19776C
split-complementary
#3D1977 #776C19 #247719
monochromatic
#0D0519 #230E44 #3D1977 #5724AA #7336D5

Accessibility & contrast

On white

13.09
#3D1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1977
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1977#FFFFFF#000000##FFFFFF
##3D19771.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#2C3347
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1977;
/* rgb */ color: rgb(61, 25, 119);
/* oklch */ color: oklch(32.9% 0.148 294.1);
Tailwind
colors: {
  custom: {
    50: '#795a9f',
    500: '#3d1977',
    950: '#000000',
  },
}
SCSS
$custom: #3d1977;
$custom-light: #795a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1977",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 262.979,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.14753,
    "h": 294.1
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#3D1977
secondary
#83AC40
accent
#E840A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3D1977

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

Preview Lab → · Contrast checker → · Palette generator →

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