#3B1568#3B1568

#3B1568 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.134 H 299.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#3B1568
RGBrgb(59, 21, 104)
HSLhsl(267, 66%, 25%)
HSVhsv(267, 80%, 41%)
CMYKcmyk(43.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(17.76, 36.29, -41.10)
CIE-LCHlch(17.76, 54.82, 311.44°)
OKLaboklab(30.74% 0.065 -0.1175)
OKLCHoklch(30.74% 0.134 299)
XYZxyz(4.5699, 2.4656, 13.3292)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1568 #426815
analogous
#151968 #3B1568 #651568
triadic
#3B1568 #683B15 #15683B
tetradic
#3B1568 #681519 #426815 #156865
square
#3B1568 #681519 #426815 #156865
split-complementary
#3B1568 #686515 #196815
monochromatic
#0E0519 #1E0B35 #3B1568 #581F9B #752ACE

Accessibility & contrast

On white

14.06
#3B1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3B1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1568
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1568#FFFFFF#000000##FFFFFF
##3B15681.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#302B3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1568;
/* rgb */ color: rgb(59, 21, 104);
/* oklch */ color: oklch(30.7% 0.134 299.0);
Tailwind
colors: {
  custom: {
    50: '#765794',
    500: '#3b1568',
    950: '#000000',
  },
}
SCSS
$custom: #3b1568;
$custom-light: #765794;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1568",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 267.47,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30743,
    "c": 0.13428,
    "h": 299
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#3B1568
secondary
#719F3A
accent
#E93E9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1568

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

Preview Lab → · Contrast checker → · Palette generator →

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