#3B1059#3B1059

#3B1059 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.123 H 306.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3B1059
RGBrgb(59, 16, 89)
HSLhsl(275, 70%, 21%)
HSVhsv(275, 82%, 35%)
CMYKcmyk(33.7%, 82%, 0%, 65.1%)
CIE-LABlab(15.60, 34.63, -34.65)
CIE-LCHlch(15.60, 48.99, 314.98°)
OKLaboklab(28.8% 0.0739 -0.0985)
OKLCHoklch(28.8% 0.123 306.9)
XYZxyz(3.7917, 2.0217, 9.6397)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1059 #2E5910
analogous
#161059 #3B1059 #591052
triadic
#3B1059 #593B10 #10593B
tetradic
#3B1059 #591610 #2E5910 #105259
square
#3B1059 #591610 #2E5910 #105259
split-complementary
#3B1059 #525910 #105916
monochromatic
#11051A #190725 #3B1059 #5D198D #8023C1

Accessibility & contrast

On white

14.95
#3B1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1059
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1059#FFFFFF#000000##FFFFFF
##3B10591.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#362234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b1059;
/* rgb */ color: rgb(59, 16, 89);
/* oklch */ color: oklch(28.8% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#755488',
    500: '#3b1059',
    950: '#000000',
  },
}
SCSS
$custom: #3b1059;
$custom-light: #755488;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1059",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 275.342,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28803,
    "c": 0.12315,
    "h": 306.9
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#3B1059
secondary
#5A9233
accent
#EC3B84
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B1059

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

Preview Lab → · Contrast checker → · Palette generator →

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