#3D1693#3D1693

#3D1693 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.182 H 286.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3D1693
RGBrgb(61, 22, 147)
HSLhsl(259, 74%, 33%)
HSVhsv(259, 85%, 58%)
CMYKcmyk(58.5%, 85%, 0%, 42.4%)
CIE-LABlab(22.56, 48.04, -60.57)
CIE-LCHlch(22.56, 77.31, 308.42°)
OKLaboklab(35.45% 0.0528 -0.1744)
OKLCHoklch(35.45% 0.182 286.9)
XYZxyz(7.4763, 3.6721, 27.9129)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1693 #6C9316
analogous
#162D93 #3D1693 #7B1693
triadic
#3D1693 #933D16 #16933D
tetradic
#3D1693 #93162D #6C9316 #16937B
square
#3D1693 #93162D #6C9316 #16937B
split-complementary
#3D1693 #937B16 #2D9316
monochromatic
#110629 #270E5E #3D1693 #531EC8 #7341E3

Accessibility & contrast

On white

12.11
#3D1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1693
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1693#FFFFFF#000000##FFFFFF
##3D16931.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#113D57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1693;
/* rgb */ color: rgb(61, 22, 147);
/* oklch */ color: oklch(35.5% 0.182 286.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ab4',
    500: '#3d1693',
    950: '#000000',
  },
}
SCSS
$custom: #3d1693;
$custom-light: #7e5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1693",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 258.72,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.18228,
    "h": 286.9
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#3D1693
secondary
#9BC342
accent
#F137B7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1693

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

Preview Lab → · Contrast checker → · Palette generator →

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