#3B0646#3B0646

#3B0646 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.115 H 319.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#3B0646
RGBrgb(59, 6, 70)
HSLhsl(290, 84%, 15%)
HSVhsv(290, 91%, 27%)
CMYKcmyk(15.7%, 91.4%, 0%, 72.5%)
CIE-LABlab(12.62, 34.18, -26.44)
CIE-LCHlch(12.62, 43.22, 322.27°)
OKLaboklab(26.21% 0.0879 -0.0743)
OKLCHoklch(26.21% 0.115 319.8)
XYZxyz(2.9741, 1.5024, 5.9265)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0646 #114606
analogous
#1B0646 #3B0646 #460631
triadic
#3B0646 #463B06 #06463B
tetradic
#3B0646 #461B06 #114606 #063146
square
#3B0646 #461B06 #114606 #063146
split-complementary
#3B0646 #314606 #06461B
monochromatic
#18021C #18021C #3B0646 #6B0B7E #9A10B7

Accessibility & contrast

On white

16.15
#3B0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3B0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0646
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0646#FFFFFF#000000##FFFFFF
##3B06461.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0C2245
Tritanopia (blue-blind)
#3B1527
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0646;
/* rgb */ color: rgb(59, 6, 70);
/* oklch */ color: oklch(26.2% 0.115 319.8);
Tailwind
colors: {
  custom: {
    50: '#744e7a',
    500: '#3b0646',
    950: '#000000',
  },
}
SCSS
$custom: #3b0646;
$custom-light: #744e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0646",
  "rgb": {
    "r": 59,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 289.688,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.11509,
    "h": 319.8
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#3B0646
secondary
#338522
accent
#FA2D51
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0646

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

Preview Lab → · Contrast checker → · Palette generator →

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