#3D1564#3D1564

#3D1564 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.130 H 302.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#3D1564
RGBrgb(61, 21, 100)
HSLhsl(270, 65%, 24%)
HSVhsv(270, 79%, 39%)
CMYKcmyk(39%, 79%, 0%, 60.8%)
CIE-LABlab(17.68, 35.59, -38.58)
CIE-LCHlch(17.68, 52.49, 312.69°)
OKLaboklab(30.64% 0.0693 -0.11)
OKLCHoklch(30.64% 0.13 302.2)
XYZxyz(4.4923, 2.4485, 12.2901)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1564 #3C6415
analogous
#161564 #3D1564 #641563
triadic
#3D1564 #643D15 #15643D
tetradic
#3D1564 #641615 #3C6415 #156364
square
#3D1564 #641615 #3C6415 #156364
split-complementary
#3D1564 #636415 #156416
monochromatic
#0F0519 #1E0A31 #3D1564 #5C2097 #7B2AC9

Accessibility & contrast

On white

14.10
#3D1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1564
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1564#FFFFFF#000000##FFFFFF
##3D15641.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#35293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1564;
/* rgb */ color: rgb(61, 21, 100);
/* oklch */ color: oklch(30.6% 0.130 302.2);
Tailwind
colors: {
  custom: {
    50: '#775791',
    500: '#3d1564',
    950: '#000000',
  },
}
SCSS
$custom: #3d1564;
$custom-light: #775791;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1564",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 270.38,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30638,
    "c": 0.13001,
    "h": 302.2
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#3D1564
secondary
#6A9B3A
accent
#E84093
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1564

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

Preview Lab → · Contrast checker → · Palette generator →

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