#3B1679#3B1679

#3B1679 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.153 H 292.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3B1679
RGBrgb(59, 22, 121)
HSLhsl(262, 69%, 28%)
HSVhsv(262, 82%, 47%)
CMYKcmyk(51.2%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.57, 40.54, -49.14)
CIE-LCHlch(19.57, 63.71, 309.52°)
OKLaboklab(32.51% 0.0589 -0.1411)
OKLCHoklch(32.51% 0.153 292.7)
XYZxyz(5.5408, 2.8839, 18.3502)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1679 #547916
analogous
#162379 #3B1679 #6C1679
triadic
#3B1679 #793B16 #16793B
tetradic
#3B1679 #791623 #547916 #16796C
square
#3B1679 #791623 #547916 #16796C
split-complementary
#3B1679 #796C16 #237916
monochromatic
#0D051A #220D45 #3B1679 #541FAD #6F30D9

Accessibility & contrast

On white

13.32
#3B1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3B1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1679
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1679#FFFFFF#000000##FFFFFF
##3B16791.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#273247
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1679;
/* rgb */ color: rgb(59, 22, 121);
/* oklch */ color: oklch(32.5% 0.153 292.7);
Tailwind
colors: {
  custom: {
    50: '#7858a1',
    500: '#3b1679',
    950: '#000000',
  },
}
SCSS
$custom: #3b1679;
$custom-light: #7858a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1679",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 262.424,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.15291,
    "h": 292.7
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#3B1679
secondary
#84AE3D
accent
#EC3CAA
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B1679

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

Preview Lab → · Contrast checker → · Palette generator →

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