#3B0938#3B0938

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

Color values

HEX#3B0938
RGBrgb(59, 9, 56)
HSLhsl(304, 74%, 13%)
HSVhsv(304, 85%, 23%)
CMYKcmyk(0%, 84.7%, 5.1%, 76.9%)
CIE-LABlab(12.03, 30.13, -17.46)
CIE-LCHlch(12.03, 34.82, 329.91°)
OKLaboklab(25.46% 0.0857 -0.0481)
OKLCHoklch(25.46% 0.098 330.7)
XYZxyz(2.6151, 1.4109, 3.8752)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0938 #093B0C
analogous
#25093B #3B0938 #3B091F
triadic
#3B0938 #383B09 #09383B
tetradic
#3B0938 #3B2509 #093B0C #091F3B
square
#3B0938 #3B2509 #093B0C #091F3B
split-complementary
#3B0938 #1F3B09 #093B25
monochromatic
#1B0419 #1B0419 #3B0938 #70116A #A5199D

Accessibility & contrast

On white

16.38
#3B0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0938
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0938#FFFFFF#000000##FFFFFF
##3B09381.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B39
Deuteranopia (green-blind)
#182237
Tritanopia (blue-blind)
#3E0F20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0938;
/* rgb */ color: rgb(59, 9, 56);
/* oklch */ color: oklch(25.5% 0.098 330.7);
Tailwind
colors: {
  custom: {
    50: '#734f6f',
    500: '#3b0938',
    950: '#000000',
  },
}
SCSS
$custom: #3b0938;
$custom-light: #734f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0938",
  "rgb": {
    "r": 59,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 303.6,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25462,
    "c": 0.09827,
    "h": 330.7
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#3B0938
secondary
#27792C
accent
#F04338
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0938

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

Preview Lab → · Contrast checker → · Palette generator →

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