#3B1683#3B1683

#3B1683 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.164 H 289.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3B1683
RGBrgb(59, 22, 131)
HSLhsl(260, 71%, 30%)
HSVhsv(260, 83%, 51%)
CMYKcmyk(55%, 83.2%, 0%, 48.6%)
CIE-LABlab(20.60, 43.35, -53.80)
CIE-LCHlch(20.60, 69.09, 308.86°)
OKLaboklab(33.54% 0.0555 -0.1547)
OKLCHoklch(33.54% 0.164 289.7)
XYZxyz(6.1861, 3.1420, 21.7488)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1683 #5E8316
analogous
#162783 #3B1683 #721683
triadic
#3B1683 #833B16 #16833B
tetradic
#3B1683 #831627 #5E8316 #168372
square
#3B1683 #831627 #5E8316 #168372
split-complementary
#3B1683 #837216 #278316
monochromatic
#0C041A #230D4F #3B1683 #531FB7 #6F36DD

Accessibility & contrast

On white

12.90
#3B1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3B1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1683
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1683#FFFFFF#000000##FFFFFF
##3B16831.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#1F364D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b1683;
/* rgb */ color: rgb(59, 22, 131);
/* oklch */ color: oklch(33.5% 0.164 289.7);
Tailwind
colors: {
  custom: {
    50: '#7a59a8',
    500: '#3b1683',
    950: '#000000',
  },
}
SCSS
$custom: #3b1683;
$custom-light: #7a59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1683",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 260.367,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.16437,
    "h": 289.7
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#3B1683
secondary
#8EB73D
accent
#EE3AB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1683

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

Preview Lab → · Contrast checker → · Palette generator →

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