#3B1A93#3B1A93

#3B1A93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.179 H 285.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#3B1A93
RGBrgb(59, 26, 147)
HSLhsl(256, 70%, 34%)
HSVhsv(256, 82%, 58%)
CMYKcmyk(59.9%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.91, 46.14, -59.99)
CIE-LCHlch(22.91, 75.69, 307.56°)
OKLaboklab(35.64% 0.0473 -0.1729)
OKLCHoklch(35.64% 0.179 285.3)
XYZxyz(7.4379, 3.7747, 27.9348)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1A93 #72931A
analogous
#1A3693 #3B1A93 #781A93
triadic
#3B1A93 #933B1A #1A933B
tetradic
#3B1A93 #931A36 #72931A #1A9378
square
#3B1A93 #931A36 #72931A #1A9378
split-complementary
#3B1A93 #93781A #36931A
monochromatic
#11082B #26115F #3B1A93 #5023C7 #7249DF

Accessibility & contrast

On white

11.97
#3B1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3B1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1A93
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1A93#FFFFFF#000000##FFFFFF
##3B1A931.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#063F57
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b1a93;
/* rgb */ color: rgb(59, 26, 147);
/* oklch */ color: oklch(35.6% 0.179 285.3);
Tailwind
colors: {
  custom: {
    50: '#7d5cb4',
    500: '#3b1a93',
    950: '#000000',
  },
}
SCSS
$custom: #3b1a93;
$custom-light: #7d5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1a93",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 256.364,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.17922,
    "h": 285.3
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#3B1A93
secondary
#A0C048
accent
#ED3BBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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