#3A283A#3A283A

#3A283A is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.6% C 0.040 H 326.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#3A283A
RGBrgb(58, 40, 58)
HSLhsl(300, 18%, 19%)
HSVhsv(300, 31%, 23%)
CMYKcmyk(0%, 31%, 0%, 77.3%)
CIE-LABlab(18.90, 12.16, -8.23)
CIE-LCHlch(18.90, 14.68, 325.89°)
OKLaboklab(30.56% 0.0336 -0.0222)
OKLCHoklch(30.56% 0.04 326.5)
XYZxyz(3.2674, 2.7227, 4.3556)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A283A #283A28
analogous
#31283A #3A283A #3A2831
triadic
#3A283A #3A3A28 #283A3A
tetradic
#3A283A #3A3128 #283A28 #28313A
square
#3A283A #3A3128 #283A28 #28313A
split-complementary
#3A283A #313A28 #283A31
monochromatic
#120C12 #160F16 #3A283A #5E415E #825A82

Accessibility & contrast

On white

13.60
#3A283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3A283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A283A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A283A#FFFFFF#000000##FFFFFF
##3A283A1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3B
Deuteranopia (green-blind)
#2B2F39
Tritanopia (blue-blind)
#3B2A2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a283a;
/* rgb */ color: rgb(58, 40, 58);
/* oklch */ color: oklch(30.6% 0.040 326.5);
Tailwind
colors: {
  custom: {
    50: '#706270',
    500: '#3a283a',
    950: '#000000',
  },
}
SCSS
$custom: #3a283a;
$custom-light: #706270;
$custom-dark: #000000;
JSON
{
  "hex": "#3a283a",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.04028,
    "h": 326.5
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#3A283A
secondary
#536B53
accent
#BB6D6D
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #3A283A

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

Preview Lab → · Contrast checker → · Palette generator →

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