#3A283F#3A283F

#3A283F is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.8% C 0.047 H 318.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#3A283F
RGBrgb(58, 40, 63)
HSLhsl(287, 22%, 20%)
HSVhsv(287, 37%, 25%)
CMYKcmyk(7.9%, 36.5%, 0%, 75.3%)
CIE-LABlab(19.12, 13.36, -11.34)
CIE-LCHlch(19.12, 17.53, 319.68°)
OKLaboklab(30.81% 0.0353 -0.0309)
OKLCHoklch(30.81% 0.047 318.8)
XYZxyz(3.4008, 2.7761, 5.0584)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A283F #2D3F28
analogous
#2F283F #3A283F #3F2838
triadic
#3A283F #3F3A28 #283F3A
tetradic
#3A283F #3F2F28 #2D3F28 #28383F
square
#3A283F #3F2F28 #2D3F28 #28383F
split-complementary
#3A283F #383F28 #283F2F
monochromatic
#110C13 #18101A #3A283F #5C4064 #7F588A

Accessibility & contrast

On white

13.50
#3A283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A283F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A283F#FFFFFF#000000##FFFFFF
##3A283F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#292F3E
Tritanopia (blue-blind)
#3A2B30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a283f;
/* rgb */ color: rgb(58, 40, 63);
/* oklch */ color: oklch(30.8% 0.047 318.8);
Tailwind
colors: {
  custom: {
    50: '#706274',
    500: '#3a283f',
    950: '#000000',
  },
}
SCSS
$custom: #3a283f;
$custom-light: #706274;
$custom-dark: #000000;
JSON
{
  "hex": "#3a283f",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 286.957,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30809,
    "c": 0.04697,
    "h": 318.8
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#3A283F
secondary
#597152
accent
#BF697C
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A283F

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

Preview Lab → · Contrast checker → · Palette generator →

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