#3B0747#3B0747

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

Color values

HEX#3B0747
RGBrgb(59, 7, 71)
HSLhsl(289, 82%, 15%)
HSVhsv(289, 90%, 28%)
CMYKcmyk(16.9%, 90.1%, 0%, 72.2%)
CIE-LABlab(12.84, 34.00, -26.79)
CIE-LCHlch(12.84, 43.29, 321.76°)
OKLaboklab(26.39% 0.0866 -0.0754)
OKLCHoklch(26.39% 0.115 319)
XYZxyz(3.0168, 1.5368, 6.0977)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0747 #134707
analogous
#1B0747 #3B0747 #470733
triadic
#3B0747 #473B07 #07473B
tetradic
#3B0747 #471B07 #134707 #073347
square
#3B0747 #471B07 #134707 #073347
split-complementary
#3B0747 #334707 #07471B
monochromatic
#17031C #17031C #3B0747 #690C7F #9812B6

Accessibility & contrast

On white

16.06
#3B0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3B0747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0747
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0747#FFFFFF#000000##FFFFFF
##3B07471.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#3B1628
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0747;
/* rgb */ color: rgb(59, 7, 71);
/* oklch */ color: oklch(26.4% 0.115 319.0);
Tailwind
colors: {
  custom: {
    50: '#744f7b',
    500: '#3b0747',
    950: '#000000',
  },
}
SCSS
$custom: #3b0747;
$custom-light: #744f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0747",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 288.75,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.11483,
    "h": 319
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#3B0747
secondary
#368624
accent
#F82F55
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0747

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

Preview Lab → · Contrast checker → · Palette generator →

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