#3B0D55#3B0D55

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

Color values

HEX#3B0D55
RGBrgb(59, 13, 85)
HSLhsl(278, 73%, 19%)
HSVhsv(278, 85%, 33%)
CMYKcmyk(30.6%, 84.7%, 0%, 66.7%)
CIE-LABlab(14.81, 34.91, -33.24)
CIE-LCHlch(14.81, 48.20, 316.41°)
OKLaboklab(28.14% 0.0778 -0.0943)
OKLCHoklch(28.14% 0.122 309.5)
XYZxyz(3.5869, 1.8736, 8.7653)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D55 #27550D
analogous
#170D55 #3B0D55 #550D4B
triadic
#3B0D55 #553B0D #0D553B
tetradic
#3B0D55 #55170D #27550D #0D4B55
square
#3B0D55 #55170D #27550D #0D4B55
split-complementary
#3B0D55 #4B550D #0D5517
monochromatic
#12041B #160520 #3B0D55 #60158A #851DBF

Accessibility & contrast

On white

15.27
#3B0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D55
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D55#FFFFFF#000000##FFFFFF
##3B0D551.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0d55;
/* rgb */ color: rgb(59, 13, 85);
/* oklch */ color: oklch(28.1% 0.122 309.5);
Tailwind
colors: {
  custom: {
    50: '#745285',
    500: '#3b0d55',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d55;
$custom-light: #745285;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d55",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 278.333,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.12228,
    "h": 309.5
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#3B0D55
secondary
#51902E
accent
#F0387A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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