#3B1374#3B1374

#3B1374 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.150 H 294.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#3B1374
RGBrgb(59, 19, 116)
HSLhsl(265, 72%, 26%)
HSVhsv(265, 84%, 45%)
CMYKcmyk(49.1%, 83.6%, 0%, 54.5%)
CIE-LABlab(18.61, 40.48, -47.51)
CIE-LCHlch(18.61, 62.41, 310.43°)
OKLaboklab(31.69% 0.0629 -0.1363)
OKLCHoklch(31.69% 0.15 294.8)
XYZxyz(5.1880, 2.6564, 16.7590)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1374 #4C7413
analogous
#131C74 #3B1374 #6C1374
triadic
#3B1374 #743B13 #13743B
tetradic
#3B1374 #74131C #4C7413 #13746C
square
#3B1374 #74131C #4C7413 #13746C
split-complementary
#3B1374 #746C13 #1C7413
monochromatic
#0D041A #200A3F #3B1374 #561CA9 #7126DB

Accessibility & contrast

On white

13.71
#3B1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3B1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1374
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1374#FFFFFF#000000##FFFFFF
##3B13741.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#2A2F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1374;
/* rgb */ color: rgb(59, 19, 116);
/* oklch */ color: oklch(31.7% 0.150 294.8);
Tailwind
colors: {
  custom: {
    50: '#78579d',
    500: '#3b1374',
    950: '#000000',
  },
}
SCSS
$custom: #3b1374;
$custom-light: #78579d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1374",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 264.742,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.15012,
    "h": 294.8
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#3B1374
secondary
#7BAA38
accent
#EF39A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1374

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

Preview Lab → · Contrast checker → · Palette generator →

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