#3B0640#3B0640

#3B0640 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.110 H 324.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#3B0640
RGBrgb(59, 6, 64)
HSLhsl(295, 83%, 14%)
HSVhsv(295, 91%, 25%)
CMYKcmyk(7.8%, 90.6%, 0%, 74.9%)
CIE-LABlab(12.16, 32.94, -22.97)
CIE-LCHlch(12.16, 40.16, 325.11°)
OKLaboklab(25.73% 0.0888 -0.0641)
OKLCHoklch(25.73% 0.11 324.2)
XYZxyz(2.7941, 1.4304, 4.9784)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0640 #0B4006
analogous
#1E0640 #3B0640 #400628
triadic
#3B0640 #403B06 #06403B
tetradic
#3B0640 #401E06 #0B4006 #062840
square
#3B0640 #401E06 #0B4006 #062840
split-complementary
#3B0640 #284006 #06401E
monochromatic
#1A031C #1A031C #3B0640 #6F0B78 #A210B0

Accessibility & contrast

On white

16.33
#3B0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3B0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0640
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0640#FFFFFF#000000##FFFFFF
##3B06401.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#3C1223
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0640;
/* rgb */ color: rgb(59, 6, 64);
/* oklch */ color: oklch(25.7% 0.110 324.2);
Tailwind
colors: {
  custom: {
    50: '#744e75',
    500: '#3b0640',
    950: '#000000',
  },
}
SCSS
$custom: #3b0640;
$custom-light: #744e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0640",
  "rgb": {
    "r": 59,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 294.828,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25733,
    "c": 0.10954,
    "h": 324.2
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#3B0640
secondary
#2A8022
accent
#F92F40
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0640

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

Preview Lab → · Contrast checker → · Palette generator →

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