#3B1353#3B1353

#3B1353 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 309.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3B1353
RGBrgb(59, 19, 83)
HSLhsl(278, 63%, 20%)
HSVhsv(278, 77%, 33%)
CMYKcmyk(28.9%, 77.1%, 0%, 67.5%)
CIE-LABlab(15.59, 31.70, -30.61)
CIE-LCHlch(15.59, 44.07, 316.00°)
OKLaboklab(28.64% 0.0718 -0.0867)
OKLCHoklch(28.64% 0.113 309.6)
XYZxyz(3.5975, 2.0202, 8.3824)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1353 #2B5313
analogous
#1B1353 #3B1353 #53134B
triadic
#3B1353 #533B13 #13533B
tetradic
#3B1353 #531B13 #2B5313 #134B53
square
#3B1353 #531B13 #2B5313 #134B53
split-complementary
#3B1353 #4B5313 #13531B
monochromatic
#120619 #180821 #3B1353 #5E1E85 #822AB7

Accessibility & contrast

On white

14.96
#3B1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1353
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1353#FFFFFF#000000##FFFFFF
##3B13531.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#062752
Tritanopia (blue-blind)
#382131
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b1353;
/* rgb */ color: rgb(59, 19, 83);
/* oklch */ color: oklch(28.6% 0.113 309.6);
Tailwind
colors: {
  custom: {
    50: '#745584',
    500: '#3b1353',
    950: '#000000',
  },
}
SCSS
$custom: #3b1353;
$custom-light: #745584;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1353",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 277.5,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.28639,
    "c": 0.11254,
    "h": 309.6
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#3B1353
secondary
#568B36
accent
#E6427F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3B1353

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

Preview Lab → · Contrast checker → · Palette generator →

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