#3B1984#3B1984

#3B1984 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.163 H 289.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#3B1984
RGBrgb(59, 25, 132)
HSLhsl(259, 68%, 31%)
HSVhsv(259, 81%, 52%)
CMYKcmyk(55.3%, 81.1%, 0%, 48.2%)
CIE-LABlab(21.17, 42.28, -53.50)
CIE-LCHlch(21.17, 68.19, 308.32°)
OKLaboklab(33.97% 0.053 -0.1539)
OKLCHoklch(33.97% 0.163 289)
XYZxyz(6.3149, 3.2907, 22.1277)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1984 #628419
analogous
#192D84 #3B1984 #701984
triadic
#3B1984 #843B19 #19843B
tetradic
#3B1984 #84192D #628419 #198470
square
#3B1984 #84192D #628419 #198470
split-complementary
#3B1984 #847019 #2D8419
monochromatic
#0D061D #240F51 #3B1984 #5223B7 #6F3DDA

Accessibility & contrast

On white

12.66
#3B1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1984
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1984#FFFFFF#000000##FFFFFF
##3B19841.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#1E384E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b1984;
/* rgb */ color: rgb(59, 25, 132);
/* oklch */ color: oklch(34.0% 0.163 289.0);
Tailwind
colors: {
  custom: {
    50: '#7a5ba9',
    500: '#3b1984',
    950: '#000000',
  },
}
SCSS
$custom: #3b1984;
$custom-light: #7a5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1984",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 259.065,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.16275,
    "h": 289
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#3B1984
secondary
#92B841
accent
#EB3DB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1984

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

Preview Lab → · Contrast checker → · Palette generator →

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