#3B0843#3B0843

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

Color values

HEX#3B0843
RGBrgb(59, 8, 67)
HSLhsl(292, 79%, 15%)
HSVhsv(292, 88%, 26%)
CMYKcmyk(11.9%, 88.1%, 0%, 73.7%)
CIE-LABlab(12.66, 32.75, -24.27)
CIE-LCHlch(12.66, 40.76, 323.45°)
OKLaboklab(26.16% 0.0862 -0.068)
OKLCHoklch(26.16% 0.11 321.7)
XYZxyz(2.9035, 1.5089, 5.4474)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0843 #104308
analogous
#1D0843 #3B0843 #43082E
triadic
#3B0843 #433B08 #08433B
tetradic
#3B0843 #431D08 #104308 #082E43
square
#3B0843 #431D08 #104308 #082E43
split-complementary
#3B0843 #2E4308 #08431D
monochromatic
#18031B #18031B #3B0843 #6B0F7A #9B15B0

Accessibility & contrast

On white

16.13
#3B0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0843
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0843#FFFFFF#000000##FFFFFF
##3B08431.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#102342
Tritanopia (blue-blind)
#3C1426
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0843;
/* rgb */ color: rgb(59, 8, 67);
/* oklch */ color: oklch(26.2% 0.110 321.7);
Tailwind
colors: {
  custom: {
    50: '#744f77',
    500: '#3b0843',
    950: '#000000',
  },
}
SCSS
$custom: #3b0843;
$custom-light: #744f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0843",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 291.864,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26163,
    "c": 0.1098,
    "h": 321.7
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#3B0843
secondary
#328125
accent
#F5334D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0843

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

Preview Lab → · Contrast checker → · Palette generator →

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