#3B1693#3B1693

#3B1693 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.182 H 285.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#3B1693
RGBrgb(59, 22, 147)
HSLhsl(258, 74%, 33%)
HSVhsv(258, 85%, 58%)
CMYKcmyk(59.9%, 85%, 0%, 42.4%)
CIE-LABlab(22.34, 47.83, -60.94)
CIE-LCHlch(22.34, 77.47, 308.12°)
OKLaboklab(35.25% 0.0496 -0.1756)
OKLCHoklch(35.25% 0.182 285.8)
XYZxyz(7.3554, 3.6098, 27.9073)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1693 #6E9316
analogous
#162F93 #3B1693 #791693
triadic
#3B1693 #933B16 #16933B
tetradic
#3B1693 #93162F #6E9316 #169379
square
#3B1693 #93162F #6E9316 #169379
split-complementary
#3B1693 #937916 #2F9316
monochromatic
#100629 #260E5E #3B1693 #501EC8 #7141E3

Accessibility & contrast

On white

12.20
#3B1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3B1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1693
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1693#FFFFFF#000000##FFFFFF
##3B16931.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#073D57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3b1693;
/* rgb */ color: rgb(59, 22, 147);
/* oklch */ color: oklch(35.2% 0.182 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ab4',
    500: '#3b1693',
    950: '#000000',
  },
}
SCSS
$custom: #3b1693;
$custom-light: #7d5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1693",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 257.76,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.18244,
    "h": 285.8
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#3B1693
secondary
#9DC342
accent
#F137BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1693

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

Preview Lab → · Contrast checker → · Palette generator →

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