#3B0940#3B0940

#3B0940 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.106 H 323.9°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3B0940
RGBrgb(59, 9, 64)
HSLhsl(295, 75%, 14%)
HSVhsv(295, 86%, 25%)
CMYKcmyk(7.8%, 85.9%, 0%, 74.9%)
CIE-LABlab(12.58, 31.72, -22.29)
CIE-LCHlch(12.58, 38.77, 324.90°)
OKLaboklab(26.03% 0.0855 -0.0622)
OKLCHoklch(26.03% 0.106 323.9)
XYZxyz(2.8267, 1.4955, 4.9893)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0940 #0E4009
analogous
#200940 #3B0940 #40092A
triadic
#3B0940 #403B09 #09403B
tetradic
#3B0940 #402009 #0E4009 #092A40
square
#3B0940 #402009 #0E4009 #092A40
split-complementary
#3B0940 #2A4009 #094020
monochromatic
#19041B #19041B #3B0940 #6C1176 #9E18AB

Accessibility & contrast

On white

16.17
#3B0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0940
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0940#FFFFFF#000000##FFFFFF
##3B09401.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#13233F
Tritanopia (blue-blind)
#3C1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0940;
/* rgb */ color: rgb(59, 9, 64);
/* oklch */ color: oklch(26.0% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#734f75',
    500: '#3b0940',
    950: '#000000',
  },
}
SCSS
$custom: #3b0940;
$custom-light: #734f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0940",
  "rgb": {
    "r": 59,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 294.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26031,
    "c": 0.1057,
    "h": 323.9
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#3B0940
secondary
#2F7E27
accent
#F23647
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0940

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

Preview Lab → · Contrast checker → · Palette generator →

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