#3B1370#3B1370

#3B1370 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.146 H 296.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#3B1370
RGBrgb(59, 19, 112)
HSLhsl(266, 71%, 26%)
HSVhsv(266, 83%, 44%)
CMYKcmyk(47.3%, 83%, 0%, 56.1%)
CIE-LABlab(18.21, 39.39, -45.58)
CIE-LCHlch(18.21, 60.24, 310.83°)
OKLaboklab(31.29% 0.0643 -0.1306)
OKLCHoklch(31.29% 0.146 296.2)
XYZxyz(4.9604, 2.5653, 15.5599)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1370 #487013
analogous
#131A70 #3B1370 #691370
triadic
#3B1370 #703B13 #13703B
tetradic
#3B1370 #70131A #487013 #137069
square
#3B1370 #70131A #487013 #137069
split-complementary
#3B1370 #706913 #1A7013
monochromatic
#0E041A #1F0A3C #3B1370 #571CA4 #7225D9

Accessibility & contrast

On white

13.88
#3B1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3B1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1370
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1370#FFFFFF#000000##FFFFFF
##3B13701.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#2C2D42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b1370;
/* rgb */ color: rgb(59, 19, 112);
/* oklch */ color: oklch(31.3% 0.146 296.2);
Tailwind
colors: {
  custom: {
    50: '#77569a',
    500: '#3b1370',
    950: '#000000',
  },
}
SCSS
$custom: #3b1370;
$custom-light: #77569a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1370",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 265.806,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.1456,
    "h": 296.2
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#3B1370
secondary
#77A738
accent
#EE3AA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1370

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

Preview Lab → · Contrast checker → · Palette generator →

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