#3B1561#3B1561

#3B1561 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.126 H 302.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3B1561
RGBrgb(59, 21, 97)
HSLhsl(270, 64%, 23%)
HSVhsv(270, 78%, 38%)
CMYKcmyk(39.2%, 78.4%, 0%, 62%)
CIE-LABlab(17.13, 34.38, -37.51)
CIE-LCHlch(17.13, 50.89, 312.51°)
OKLaboklab(30.1% 0.0668 -0.107)
OKLCHoklch(30.1% 0.126 302)
XYZxyz(4.2289, 2.3292, 11.5337)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1561 #3B6115
analogous
#151561 #3B1561 #611561
triadic
#3B1561 #613B15 #15613B
tetradic
#3B1561 #611515 #3B6115 #156161
square
#3B1561 #611515 #3B6115 #156161
split-complementary
#3B1561 #616115 #156115
monochromatic
#0F0519 #1C0A2F #3B1561 #5A2093 #782BC6

Accessibility & contrast

On white

14.33
#3B1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3B1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1561
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1561#FFFFFF#000000##FFFFFF
##3B15611.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#33283A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1561;
/* rgb */ color: rgb(59, 21, 97);
/* oklch */ color: oklch(30.1% 0.126 302.0);
Tailwind
colors: {
  custom: {
    50: '#75568f',
    500: '#3b1561',
    950: '#000000',
  },
}
SCSS
$custom: #3b1561;
$custom-light: #75568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1561",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 270,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.301,
    "c": 0.12611,
    "h": 302
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#3B1561
secondary
#69983A
accent
#E74094
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B1561

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

Preview Lab → · Contrast checker → · Palette generator →

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