#3B1971#3B1971

#3B1971 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 294.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#3B1971
RGBrgb(59, 25, 113)
HSLhsl(263, 64%, 27%)
HSVhsv(263, 78%, 44%)
CMYKcmyk(47.8%, 77.9%, 0%, 55.7%)
CIE-LABlab(19.30, 36.83, -44.45)
CIE-LCHlch(19.30, 57.72, 309.65°)
OKLaboklab(32.08% 0.0587 -0.1274)
OKLCHoklch(32.08% 0.14 294.8)
XYZxyz(5.1311, 2.8172, 15.8930)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1971 #4F7119
analogous
#192371 #3B1971 #671971
triadic
#3B1971 #713B19 #19713B
tetradic
#3B1971 #711923 #4F7119 #197167
square
#3B1971 #711923 #4F7119 #197167
split-complementary
#3B1971 #716719 #237119
monochromatic
#0D0619 #210E3F #3B1971 #5524A3 #7033D2

Accessibility & contrast

On white

13.43
#3B1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3B1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1971
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1971#FFFFFF#000000##FFFFFF
##3B19711.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#2B3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1971;
/* rgb */ color: rgb(59, 25, 113);
/* oklch */ color: oklch(32.1% 0.140 294.8);
Tailwind
colors: {
  custom: {
    50: '#77599b',
    500: '#3b1971',
    950: '#000000',
  },
}
SCSS
$custom: #3b1971;
$custom-light: #77599b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1971",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 263.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.14026,
    "h": 294.8
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#3B1971
secondary
#7FA640
accent
#E741A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1971

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

Preview Lab → · Contrast checker → · Palette generator →

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