#3D1565#3D1565

#3D1565 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.131 H 301.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1565
RGBrgb(61, 21, 101)
HSLhsl(270, 66%, 24%)
HSVhsv(270, 79%, 40%)
CMYKcmyk(39.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.77, 35.85, -39.09)
CIE-LCHlch(17.77, 53.05, 312.53°)
OKLaboklab(30.73% 0.069 -0.1115)
OKLCHoklch(30.73% 0.131 301.7)
XYZxyz(4.5410, 2.4680, 12.5465)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1565 #3D6515
analogous
#151565 #3D1565 #651565
triadic
#3D1565 #653D15 #15653D
tetradic
#3D1565 #651515 #3D6515 #156565
square
#3D1565 #651515 #3D6515 #156565
split-complementary
#3D1565 #656515 #156515
monochromatic
#0F0519 #1E0A32 #3D1565 #5C2098 #7A2ACA

Accessibility & contrast

On white

14.06
#3D1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1565
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1565#FFFFFF#000000##FFFFFF
##3D15651.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#34293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1565;
/* rgb */ color: rgb(61, 21, 101);
/* oklch */ color: oklch(30.7% 0.131 301.7);
Tailwind
colors: {
  custom: {
    50: '#775792',
    500: '#3d1565',
    950: '#000000',
  },
}
SCSS
$custom: #3d1565;
$custom-light: #775792;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1565",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30728,
    "c": 0.13116,
    "h": 301.7
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#3D1565
secondary
#6B9C3A
accent
#E93F94
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1565

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

Preview Lab → · Contrast checker → · Palette generator →

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