#3B0742#3B0742

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

Color values

HEX#3B0742
RGBrgb(59, 7, 66)
HSLhsl(293, 81%, 14%)
HSVhsv(293, 89%, 26%)
CMYKcmyk(10.6%, 89.4%, 0%, 74.1%)
CIE-LABlab(12.45, 32.94, -23.91)
CIE-LCHlch(12.45, 40.71, 324.02°)
OKLaboklab(25.99% 0.0874 -0.0669)
OKLCHoklch(25.99% 0.11 322.6)
XYZxyz(2.8629, 1.4753, 5.2872)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0742 #0E4207
analogous
#1E0742 #3B0742 #42072C
triadic
#3B0742 #423B07 #07423B
tetradic
#3B0742 #421E07 #0E4207 #072C42
square
#3B0742 #421E07 #0E4207 #072C42
split-complementary
#3B0742 #2C4207 #07421E
monochromatic
#19031C #19031C #3B0742 #6C0D79 #9E13B1

Accessibility & contrast

On white

16.22
#3B0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0742
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0742#FFFFFF#000000##FFFFFF
##3B07421.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#112241
Tritanopia (blue-blind)
#3C1325
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0742;
/* rgb */ color: rgb(59, 7, 66);
/* oklch */ color: oklch(26.0% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#744e77',
    500: '#3b0742',
    950: '#000000',
  },
}
SCSS
$custom: #3b0742;
$custom-light: #744e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0742",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 292.881,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25987,
    "c": 0.11011,
    "h": 322.6
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#3B0742
secondary
#2F8124
accent
#F73148
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0742

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

Preview Lab → · Contrast checker → · Palette generator →

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