#3B0440#3B0440

#3B0440 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.112 H 324.3°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#3B0440
RGBrgb(59, 4, 64)
HSLhsl(295, 88%, 13%)
HSVhsv(295, 94%, 25%)
CMYKcmyk(7.8%, 93.8%, 0%, 74.9%)
CIE-LABlab(11.87, 33.78, -23.43)
CIE-LCHlch(11.87, 41.11, 325.26°)
OKLaboklab(25.53% 0.0911 -0.0655)
OKLCHoklch(25.53% 0.112 324.3)
XYZxyz(2.7724, 1.3870, 4.9712)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0440 #094004
analogous
#1D0440 #3B0440 #400427
triadic
#3B0440 #403B04 #04403B
tetradic
#3B0440 #401D04 #094004 #042740
square
#3B0440 #401D04 #094004 #042740
split-complementary
#3B0440 #274004 #04401D
monochromatic
#1B021D #1B021D #3B0440 #70087A #A50BB3

Accessibility & contrast

On white

16.44
#3B0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3B0440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0440
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0440#FFFFFF#000000##FFFFFF
##3B04401.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#11213F
Tritanopia (blue-blind)
#3C1023
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0440;
/* rgb */ color: rgb(59, 4, 64);
/* oklch */ color: oklch(25.5% 0.112 324.3);
Tailwind
colors: {
  custom: {
    50: '#744d75',
    500: '#3b0440',
    950: '#000000',
  },
}
SCSS
$custom: #3b0440;
$custom-light: #744d75;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0440",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 295,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2553,
    "c": 0.11218,
    "h": 324.3
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#3B0440
secondary
#27811F
accent
#FE293B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0440

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

Preview Lab → · Contrast checker → · Palette generator →

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