#3B0D54#3B0D54

#3B0D54 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.121 H 310.1°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#3B0D54
RGBrgb(59, 13, 84)
HSLhsl(279, 73%, 19%)
HSVhsv(279, 85%, 33%)
CMYKcmyk(29.8%, 84.5%, 0%, 67.1%)
CIE-LABlab(14.72, 34.67, -32.70)
CIE-LCHlch(14.72, 47.66, 316.68°)
OKLaboklab(28.05% 0.078 -0.0928)
OKLCHoklch(28.05% 0.121 310.1)
XYZxyz(3.5475, 1.8578, 8.5575)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D54 #26540D
analogous
#180D54 #3B0D54 #540D4A
triadic
#3B0D54 #543B0D #0D543B
tetradic
#3B0D54 #54180D #26540D #0D4A54
square
#3B0D54 #54180D #26540D #0D4A54
split-complementary
#3B0D54 #4A540D #0D5418
monochromatic
#13041A #16051F #3B0D54 #601589 #851DBE

Accessibility & contrast

On white

15.31
#3B0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D54
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D54#FFFFFF#000000##FFFFFF
##3B0D541.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#371F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0d54;
/* rgb */ color: rgb(59, 13, 84);
/* oklch */ color: oklch(28.1% 0.121 310.1);
Tailwind
colors: {
  custom: {
    50: '#745285',
    500: '#3b0d54',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d54;
$custom-light: #745285;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d54",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 278.873,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2805,
    "c": 0.12122,
    "h": 310.1
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#3B0D54
secondary
#508F2E
accent
#F03879
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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