#3D1461#3D1461

#3D1461 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 303.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#3D1461
RGBrgb(61, 20, 97)
HSLhsl(272, 66%, 23%)
HSVhsv(272, 79%, 38%)
CMYKcmyk(37.1%, 79.4%, 0%, 62%)
CIE-LABlab(17.25, 35.27, -37.30)
CIE-LCHlch(17.25, 51.34, 313.40°)
OKLaboklab(30.25% 0.071 -0.1063)
OKLCHoklch(30.25% 0.128 303.7)
XYZxyz(4.3318, 2.3555, 11.5334)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1461 #386114
analogous
#161461 #3D1461 #61145E
triadic
#3D1461 #613D14 #14613D
tetradic
#3D1461 #611614 #386114 #145E61
square
#3D1461 #611614 #386114 #145E61
split-complementary
#3D1461 #5E6114 #146116
monochromatic
#100519 #1D0A2E #3D1461 #5D1E94 #7D29C6

Accessibility & contrast

On white

14.28
#3D1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1461
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1461#FFFFFF#000000##FFFFFF
##3D14611.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#362739
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1461;
/* rgb */ color: rgb(61, 20, 97);
/* oklch */ color: oklch(30.3% 0.128 303.7);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3d1461',
    950: '#000000',
  },
}
SCSS
$custom: #3d1461;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1461",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 271.948,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30251,
    "c": 0.1278,
    "h": 303.7
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#3D1461
secondary
#659838
accent
#E93F8E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1461

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

Preview Lab → · Contrast checker → · Palette generator →

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