#3B0B56#3B0B56

#3B0B56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.125 H 309.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#3B0B56
RGBrgb(59, 11, 86)
HSLhsl(278, 77%, 19%)
HSVhsv(278, 87%, 34%)
CMYKcmyk(31.4%, 87.2%, 0%, 66.3%)
CIE-LABlab(14.63, 35.93, -34.21)
CIE-LCHlch(14.63, 49.61, 316.41°)
OKLaboklab(28.04% 0.0793 -0.0972)
OKLCHoklch(28.04% 0.125 309.2)
XYZxyz(3.6027, 1.8411, 8.9679)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0B56 #26560B
analogous
#160B56 #3B0B56 #560B4C
triadic
#3B0B56 #563B0B #0B563B
tetradic
#3B0B56 #56160B #26560B #0B4C56
square
#3B0B56 #56160B #26560B #0B4C56
split-complementary
#3B0B56 #4C560B #0B5616
monochromatic
#13031B #160420 #3B0B56 #60128C #8519C3

Accessibility & contrast

On white

15.35
#3B0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0B56
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0B56#FFFFFF#000000##FFFFFF
##3B0B561.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#371F31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0b56;
/* rgb */ color: rgb(59, 11, 86);
/* oklch */ color: oklch(28.0% 0.125 309.2);
Tailwind
colors: {
  custom: {
    50: '#755186',
    500: '#3b0b56',
    950: '#000000',
  },
}
SCSS
$custom: #3b0b56;
$custom-light: #755186;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0b56",
  "rgb": {
    "r": 59,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 278.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28041,
    "c": 0.12545,
    "h": 309.2
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#3B0B56
secondary
#50912B
accent
#F43479
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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