#3B0642#3B0642

#3B0642 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.111 H 322.6°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#3B0642
RGBrgb(59, 6, 66)
HSLhsl(293, 83%, 14%)
HSVhsv(293, 91%, 26%)
CMYKcmyk(10.6%, 90.9%, 0%, 74.1%)
CIE-LABlab(12.31, 33.35, -24.14)
CIE-LCHlch(12.31, 41.17, 324.10°)
OKLaboklab(25.89% 0.0885 -0.0676)
OKLCHoklch(25.89% 0.111 322.6)
XYZxyz(2.8520, 1.4536, 5.2835)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0642 #0D4206
analogous
#1D0642 #3B0642 #42062B
triadic
#3B0642 #423B06 #06423B
tetradic
#3B0642 #421D06 #0D4206 #062B42
square
#3B0642 #421D06 #0D4206 #062B42
split-complementary
#3B0642 #2B4206 #06421D
monochromatic
#19031C #19031C #3B0642 #6D0B7A #9F10B2

Accessibility & contrast

On white

16.27
#3B0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0642
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0642#FFFFFF#000000##FFFFFF
##3B06421.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#102241
Tritanopia (blue-blind)
#3C1324
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0642;
/* rgb */ color: rgb(59, 6, 66);
/* oklch */ color: oklch(25.9% 0.111 322.6);
Tailwind
colors: {
  custom: {
    50: '#744e77',
    500: '#3b0642',
    950: '#000000',
  },
}
SCSS
$custom: #3b0642;
$custom-light: #744e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0642",
  "rgb": {
    "r": 59,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 293,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25888,
    "c": 0.11138,
    "h": 322.6
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#3B0642
secondary
#2D8222
accent
#FA2E46
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0642

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

Preview Lab → · Contrast checker → · Palette generator →

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