#3D1361#3D1361

#3D1361 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.129 H 303.9°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#3D1361
RGBrgb(61, 19, 97)
HSLhsl(272, 67%, 23%)
HSVhsv(272, 80%, 38%)
CMYKcmyk(37.1%, 80.4%, 0%, 62%)
CIE-LABlab(17.09, 35.74, -37.57)
CIE-LCHlch(17.09, 51.85, 313.57°)
OKLaboklab(30.14% 0.072 -0.107)
OKLCHoklch(30.14% 0.129 303.9)
XYZxyz(4.3145, 2.3209, 11.5276)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1361 #376113
analogous
#161361 #3D1361 #61135E
triadic
#3D1361 #613D13 #13613D
tetradic
#3D1361 #611613 #376113 #135E61
square
#3D1361 #611613 #376113 #135E61
split-complementary
#3D1361 #5E6113 #136116
monochromatic
#10051A #1D092E #3D1361 #5D1D94 #7D27C7

Accessibility & contrast

On white

14.34
#3D1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1361
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1361#FFFFFF#000000##FFFFFF
##3D13611.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1361;
/* rgb */ color: rgb(61, 19, 97);
/* oklch */ color: oklch(30.1% 0.129 303.9);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3d1361',
    950: '#000000',
  },
}
SCSS
$custom: #3d1361;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1361",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 272.308,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30136,
    "c": 0.12901,
    "h": 303.9
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#3D1361
secondary
#649937
accent
#EA3E8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1361

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

Preview Lab → · Contrast checker → · Palette generator →

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