#3D1689#3D1689

#3D1689 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.171 H 289.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#3D1689
RGBrgb(61, 22, 137)
HSLhsl(260, 72%, 31%)
HSVhsv(260, 84%, 54%)
CMYKcmyk(55.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(21.47, 45.28, -56.13)
CIE-LCHlch(21.47, 72.12, 308.89°)
OKLaboklab(34.39% 0.0566 -0.1615)
OKLCHoklch(34.39% 0.171 289.3)
XYZxyz(6.7254, 3.3717, 23.9585)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1689 #628916
analogous
#162889 #3D1689 #761689
triadic
#3D1689 #893D16 #16893D
tetradic
#3D1689 #891628 #628916 #168976
square
#3D1689 #891628 #628916 #168976
split-complementary
#3D1689 #897616 #288916
monochromatic
#0E0520 #260E54 #3D1689 #541EBE #723ADF

Accessibility & contrast

On white

12.54
#3D1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1689
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1689#FFFFFF#000000##FFFFFF
##3D16891.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#1E3951
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d1689;
/* rgb */ color: rgb(61, 22, 137);
/* oklch */ color: oklch(34.4% 0.171 289.3);
Tailwind
colors: {
  custom: {
    50: '#7c5aad',
    500: '#3d1689',
    950: '#000000',
  },
}
SCSS
$custom: #3d1689;
$custom-light: #7c5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1689",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 260.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34386,
    "c": 0.17111,
    "h": 289.3
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#3D1689
secondary
#92BD3E
accent
#EF39B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3D1689

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

Preview Lab → · Contrast checker → · Palette generator →

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