#3B1973#3B1973

#3B1973 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.143 H 294.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#3B1973
RGBrgb(59, 25, 115)
HSLhsl(263, 64%, 27%)
HSVhsv(263, 78%, 45%)
CMYKcmyk(48.7%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.49, 37.40, -45.43)
CIE-LCHlch(19.49, 58.85, 309.46°)
OKLaboklab(32.27% 0.0582 -0.1302)
OKLCHoklch(32.27% 0.143 294.1)
XYZxyz(5.2449, 2.8627, 16.4925)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1973 #517319
analogous
#192473 #3B1973 #681973
triadic
#3B1973 #733B19 #19733B
tetradic
#3B1973 #731924 #517319 #197368
square
#3B1973 #731924 #517319 #197368
split-complementary
#3B1973 #736819 #247319
monochromatic
#0D0519 #210E41 #3B1973 #5524A5 #7034D3

Accessibility & contrast

On white

13.35
#3B1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3B1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1973
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1973#FFFFFF#000000##FFFFFF
##3B19731.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#2A3145
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1973;
/* rgb */ color: rgb(59, 25, 115);
/* oklch */ color: oklch(32.3% 0.143 294.1);
Tailwind
colors: {
  custom: {
    50: '#775a9c',
    500: '#3b1973',
    950: '#000000',
  },
}
SCSS
$custom: #3b1973;
$custom-light: #775a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1973",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 262.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32273,
    "c": 0.14266,
    "h": 294.1
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#3B1973
secondary
#81A840
accent
#E741A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1973

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

Preview Lab → · Contrast checker → · Palette generator →

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