#3B1565#3B1565

#3B1565 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.131 H 300.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3B1565
RGBrgb(59, 21, 101)
HSLhsl(269, 66%, 24%)
HSVhsv(269, 79%, 40%)
CMYKcmyk(41.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.49, 35.47, -39.57)
CIE-LCHlch(17.49, 53.14, 311.87°)
OKLaboklab(30.46% 0.0658 -0.113)
OKLCHoklch(30.46% 0.131 300.2)
XYZxyz(4.4202, 2.4057, 12.5409)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1565 #3F6515
analogous
#151765 #3B1565 #631565
triadic
#3B1565 #653B15 #15653B
tetradic
#3B1565 #651517 #3F6515 #156563
square
#3B1565 #651517 #3F6515 #156563
split-complementary
#3B1565 #656315 #176515
monochromatic
#0F0519 #1D0A32 #3B1565 #592098 #762ACA

Accessibility & contrast

On white

14.18
#3B1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3B1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1565
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1565#FFFFFF#000000##FFFFFF
##3B15651.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#312A3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1565;
/* rgb */ color: rgb(59, 21, 101);
/* oklch */ color: oklch(30.5% 0.131 300.2);
Tailwind
colors: {
  custom: {
    50: '#765792',
    500: '#3b1565',
    950: '#000000',
  },
}
SCSS
$custom: #3b1565;
$custom-light: #765792;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1565",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 268.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.13079,
    "h": 300.2
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#3B1565
secondary
#6D9C3A
accent
#E93F98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1565

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

Preview Lab → · Contrast checker → · Palette generator →

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