#3D1690#3D1690

#3D1690 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.179 H 287.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#3D1690
RGBrgb(61, 22, 144)
HSLhsl(259, 73%, 33%)
HSVhsv(259, 85%, 56%)
CMYKcmyk(57.6%, 84.7%, 0%, 43.5%)
CIE-LABlab(22.23, 47.21, -59.26)
CIE-LCHlch(22.23, 75.77, 308.55°)
OKLaboklab(35.13% 0.054 -0.1706)
OKLCHoklch(35.13% 0.179 287.6)
XYZxyz(7.2439, 3.5791, 26.6893)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1690 #699016
analogous
#162C90 #3D1690 #7A1690
triadic
#3D1690 #903D16 #16903D
tetradic
#3D1690 #90162C #699016 #16907A
square
#3D1690 #90162C #699016 #16907A
split-complementary
#3D1690 #907A16 #2C9016
monochromatic
#100626 #270E5B #3D1690 #531EC5 #733FE2

Accessibility & contrast

On white

12.24
#3D1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1690
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1690#FFFFFF#000000##FFFFFF
##3D16901.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#163C55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d1690;
/* rgb */ color: rgb(61, 22, 144);
/* oklch */ color: oklch(35.1% 0.179 287.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ab2',
    500: '#3d1690',
    950: '#000000',
  },
}
SCSS
$custom: #3d1690;
$custom-light: #7d5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1690",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 259.18,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35129,
    "c": 0.17894,
    "h": 287.6
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#3D1690
secondary
#98C240
accent
#F038B5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1690

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

Preview Lab → · Contrast checker → · Palette generator →

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