#3B1983#3B1983

#3B1983 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.162 H 289.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#3B1983
RGBrgb(59, 25, 131)
HSLhsl(259, 68%, 31%)
HSVhsv(259, 81%, 51%)
CMYKcmyk(55%, 80.9%, 0%, 48.6%)
CIE-LABlab(21.07, 42.00, -53.03)
CIE-LCHlch(21.07, 67.65, 308.37°)
OKLaboklab(33.86% 0.0533 -0.1525)
OKLCHoklch(33.86% 0.162 289.3)
XYZxyz(6.2468, 3.2635, 21.7691)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1983 #618319
analogous
#192C83 #3B1983 #701983
triadic
#3B1983 #833B19 #19833B
tetradic
#3B1983 #83192C #618319 #198370
square
#3B1983 #83192C #618319 #198370
split-complementary
#3B1983 #837019 #2C8319
monochromatic
#0D051C #240F50 #3B1983 #5223B6 #6F3DDA

Accessibility & contrast

On white

12.71
#3B1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3B1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1983
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1983#FFFFFF#000000##FFFFFF
##3B19831.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#1F384E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b1983;
/* rgb */ color: rgb(59, 25, 131);
/* oklch */ color: oklch(33.9% 0.162 289.3);
Tailwind
colors: {
  custom: {
    50: '#7a5ba8',
    500: '#3b1983',
    950: '#000000',
  },
}
SCSS
$custom: #3b1983;
$custom-light: #7a5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1983",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 259.245,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33863,
    "c": 0.16159,
    "h": 289.3
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#3B1983
secondary
#91B741
accent
#EB3DB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1983

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

Preview Lab → · Contrast checker → · Palette generator →

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