#3D1365#3D1365

#3D1365 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.134 H 302.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3D1365
RGBrgb(61, 19, 101)
HSLhsl(271, 68%, 24%)
HSVhsv(271, 81%, 40%)
CMYKcmyk(39.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.45, 36.79, -39.62)
CIE-LCHlch(17.45, 54.07, 312.87°)
OKLaboklab(30.5% 0.071 -0.1131)
OKLCHoklch(30.5% 0.134 302.1)
XYZxyz(4.5057, 2.3974, 12.5348)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1365 #3B6513
analogous
#141365 #3D1365 #651364
triadic
#3D1365 #653D13 #13653D
tetradic
#3D1365 #651413 #3B6513 #136465
square
#3D1365 #651413 #3B6513 #136465
split-complementary
#3D1365 #646513 #136514
monochromatic
#10051A #1E0931 #3D1365 #5C1D99 #7B26CC

Accessibility & contrast

On white

14.19
#3D1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1365
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1365#FFFFFF#000000##FFFFFF
##3D13651.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#34283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1365;
/* rgb */ color: rgb(61, 19, 101);
/* oklch */ color: oklch(30.5% 0.134 302.1);
Tailwind
colors: {
  custom: {
    50: '#775692',
    500: '#3d1365',
    950: '#000000',
  },
}
SCSS
$custom: #3d1365;
$custom-light: #775692;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1365",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 270.732,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.305,
    "c": 0.1335,
    "h": 302.1
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#3D1365
secondary
#699D37
accent
#EB3D92
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1365

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

Preview Lab → · Contrast checker → · Palette generator →

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