#3B0746#3B0746

#3B0746 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.114 H 319.7°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#3B0746
RGBrgb(59, 7, 70)
HSLhsl(290, 82%, 15%)
HSVhsv(290, 90%, 27%)
CMYKcmyk(15.7%, 90%, 0%, 72.5%)
CIE-LABlab(12.76, 33.78, -26.22)
CIE-LCHlch(12.76, 42.77, 322.18°)
OKLaboklab(26.31% 0.0868 -0.0737)
OKLCHoklch(26.31% 0.114 319.7)
XYZxyz(2.9850, 1.5241, 5.9301)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0746 #124607
analogous
#1C0746 #3B0746 #460731
triadic
#3B0746 #463B07 #07463B
tetradic
#3B0746 #461C07 #124607 #073146
square
#3B0746 #461C07 #124607 #073146
split-complementary
#3B0746 #314607 #07461C
monochromatic
#17031C #17031C #3B0746 #6A0D7E #9912B5

Accessibility & contrast

On white

16.09
#3B0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0746
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0746#FFFFFF#000000##FFFFFF
##3B07461.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0746;
/* rgb */ color: rgb(59, 7, 70);
/* oklch */ color: oklch(26.3% 0.114 319.7);
Tailwind
colors: {
  custom: {
    50: '#744f7a',
    500: '#3b0746',
    950: '#000000',
  },
}
SCSS
$custom: #3b0746;
$custom-light: #744f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0746",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 289.524,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26305,
    "c": 0.11388,
    "h": 319.7
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#3B0746
secondary
#358524
accent
#F83053
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0746

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

Preview Lab → · Contrast checker → · Palette generator →

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