#3A283C#3A283C

#3A283C is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.7% C 0.043 H 323.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3A283C
RGBrgb(58, 40, 60)
HSLhsl(294, 20%, 20%)
HSVhsv(294, 33%, 24%)
CMYKcmyk(3.3%, 33.3%, 0%, 76.5%)
CIE-LABlab(18.99, 12.63, -9.48)
CIE-LCHlch(18.99, 15.79, 323.10°)
OKLaboklab(30.66% 0.0343 -0.0257)
OKLCHoklch(30.66% 0.043 323.1)
XYZxyz(3.3192, 2.7435, 4.6288)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A283C #2A3C28
analogous
#30283C #3A283C #3C2834
triadic
#3A283C #3C3A28 #283C3A
tetradic
#3A283C #3C3028 #2A3C28 #28343C
square
#3A283C #3C3028 #2A3C28 #28343C
split-complementary
#3A283C #343C28 #283C30
monochromatic
#120C12 #171017 #3A283C #5D4061 #815985

Accessibility & contrast

On white

13.56
#3A283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3A283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A283C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A283C#FFFFFF#000000##FFFFFF
##3A283C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3D
Deuteranopia (green-blind)
#2A2F3B
Tritanopia (blue-blind)
#3B2A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a283c;
/* rgb */ color: rgb(58, 40, 60);
/* oklch */ color: oklch(30.7% 0.043 323.1);
Tailwind
colors: {
  custom: {
    50: '#706271',
    500: '#3a283c',
    950: '#000000',
  },
}
SCSS
$custom: #3a283c;
$custom-light: #706271;
$custom-dark: #000000;
JSON
{
  "hex": "#3a283c",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 294,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30658,
    "c": 0.04288,
    "h": 323.1
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#3A283C
secondary
#556D52
accent
#BD6B73
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #3A283C

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

Preview Lab → · Contrast checker → · Palette generator →

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