#3B1C99#3B1C99

#3B1C99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.184 H 283.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#3B1C99
RGBrgb(59, 28, 153)
HSLhsl(255, 69%, 35%)
HSVhsv(255, 82%, 60%)
CMYKcmyk(61.4%, 81.7%, 0%, 40%)
CIE-LABlab(23.87, 46.98, -62.12)
CIE-LCHlch(23.87, 77.88, 307.10°)
OKLaboklab(36.5% 0.0441 -0.1791)
OKLCHoklch(36.5% 0.184 283.8)
XYZxyz(7.9669, 4.0597, 30.4946)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1C99 #7A991C
analogous
#1C3B99 #3B1C99 #791C99
triadic
#3B1C99 #993B1C #1C993B
tetradic
#3B1C99 #991C3B #7A991C #1C9979
square
#3B1C99 #991C3B #7A991C #1C9979
split-complementary
#3B1C99 #99791C #3B991C
monochromatic
#130932 #271365 #3B1C99 #4F25CD #7450DF

Accessibility & contrast

On white

11.59
#3B1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3B1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1C99
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1C99#FFFFFF#000000##FFFFFF
##3B1C991.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b1c99;
/* rgb */ color: rgb(59, 28, 153);
/* oklch */ color: oklch(36.5% 0.184 283.8);
Tailwind
colors: {
  custom: {
    50: '#7e5db8',
    500: '#3b1c99',
    950: '#000000',
  },
}
SCSS
$custom: #3b1c99;
$custom-light: #7e5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1c99",
  "rgb": {
    "r": 59,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 254.88,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.18443,
    "h": 283.8
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#3B1C99
secondary
#A5C24F
accent
#EC3CC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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