#3B283F#3B283F

#3B283F is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.9% C 0.048 H 320.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3B283F
RGBrgb(59, 40, 63)
HSLhsl(290, 22%, 20%)
HSVhsv(290, 37%, 25%)
CMYKcmyk(6.3%, 36.5%, 0%, 75.3%)
CIE-LABlab(19.25, 13.76, -11.13)
CIE-LCHlch(19.25, 17.70, 321.02°)
OKLaboklab(30.94% 0.0368 -0.0303)
OKLCHoklch(30.94% 0.048 320.5)
XYZxyz(3.4595, 2.8064, 5.0611)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B283F #2C3F28
analogous
#2F283F #3B283F #3F2837
triadic
#3B283F #3F3B28 #283F3B
tetradic
#3B283F #3F2F28 #2C3F28 #28373F
square
#3B283F #3F2F28 #2C3F28 #28373F
split-complementary
#3B283F #373F28 #283F2F
monochromatic
#120C13 #18101A #3B283F #5E4064 #81588A

Accessibility & contrast

On white

13.45
#3B283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3B283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B283F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B283F#FFFFFF#000000##FFFFFF
##3B283F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#2A2F3E
Tritanopia (blue-blind)
#3B2B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b283f;
/* rgb */ color: rgb(59, 40, 63);
/* oklch */ color: oklch(30.9% 0.048 320.5);
Tailwind
colors: {
  custom: {
    50: '#716274',
    500: '#3b283f',
    950: '#000000',
  },
}
SCSS
$custom: #3b283f;
$custom-light: #716274;
$custom-dark: #000000;
JSON
{
  "hex": "#3b283f",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 289.565,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.04767,
    "h": 320.5
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#3B283F
secondary
#577152
accent
#BF6978
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3B283F

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

Preview Lab → · Contrast checker → · Palette generator →

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