#3B1689#3B1689

#3B1689 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.171 H 288.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#3B1689
RGBrgb(59, 22, 137)
HSLhsl(259, 72%, 31%)
HSVhsv(259, 84%, 54%)
CMYKcmyk(56.9%, 83.9%, 0%, 46.3%)
CIE-LABlab(21.24, 45.03, -56.52)
CIE-LCHlch(21.24, 72.27, 308.54°)
OKLaboklab(34.17% 0.0533 -0.1627)
OKLCHoklch(34.17% 0.171 288.1)
XYZxyz(6.6046, 3.3094, 23.9528)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1689 #648916
analogous
#162B89 #3B1689 #741689
triadic
#3B1689 #893B16 #16893B
tetradic
#3B1689 #89162B #648916 #168974
square
#3B1689 #89162B #648916 #168974
split-complementary
#3B1689 #897416 #2B8916
monochromatic
#0E0520 #240E54 #3B1689 #521EBE #6F3ADF

Accessibility & contrast

On white

12.64
#3B1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3B1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1689
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1689#FFFFFF#000000##FFFFFF
##3B16891.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#193951
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b1689;
/* rgb */ color: rgb(59, 22, 137);
/* oklch */ color: oklch(34.2% 0.171 288.1);
Tailwind
colors: {
  custom: {
    50: '#7b59ad',
    500: '#3b1689',
    950: '#000000',
  },
}
SCSS
$custom: #3b1689;
$custom-light: #7b59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1689",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 259.304,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34172,
    "c": 0.17119,
    "h": 288.1
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#3B1689
secondary
#94BD3E
accent
#EF39B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1689

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

Preview Lab → · Contrast checker → · Palette generator →

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