#3D1563#3D1563

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

Color values

HEX#3D1563
RGBrgb(61, 21, 99)
HSLhsl(271, 65%, 24%)
HSVhsv(271, 79%, 39%)
CMYKcmyk(38.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(17.60, 35.32, -38.06)
CIE-LCHlch(17.60, 51.93, 312.86°)
OKLaboklab(30.55% 0.0695 -0.1085)
OKLCHoklch(30.55% 0.129 302.6)
XYZxyz(4.4442, 2.4293, 12.0367)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1563 #3B6315
analogous
#161563 #3D1563 #631562
triadic
#3D1563 #633D15 #15633D
tetradic
#3D1563 #631615 #3B6315 #156263
square
#3D1563 #631615 #3B6315 #156263
split-complementary
#3D1563 #626315 #156316
monochromatic
#100519 #1E0A31 #3D1563 #5C2095 #7B2AC8

Accessibility & contrast

On white

14.13
#3D1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1563
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1563#FFFFFF#000000##FFFFFF
##3D15631.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1563;
/* rgb */ color: rgb(61, 21, 99);
/* oklch */ color: oklch(30.5% 0.129 302.6);
Tailwind
colors: {
  custom: {
    50: '#775790',
    500: '#3d1563',
    950: '#000000',
  },
}
SCSS
$custom: #3d1563;
$custom-light: #775790;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1563",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 270.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.12885,
    "h": 302.6
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#3D1563
secondary
#699A3A
accent
#E84092
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1563

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

Preview Lab → · Contrast checker → · Palette generator →

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