#382838#382838

#382838 is a dark, muted purple. Relative luminance 0.026; OKLCH L 30.2% C 0.036 H 326.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#382838
RGBrgb(56, 40, 56)
HSLhsl(300, 17%, 19%)
HSVhsv(300, 29%, 22%)
CMYKcmyk(0%, 28.6%, 0%, 78%)
CIE-LABlab(18.56, 10.86, -7.39)
CIE-LCHlch(18.56, 13.13, 325.77°)
OKLaboklab(30.22% 0.03 -0.0199)
OKLCHoklch(30.22% 0.036 326.4)
XYZxyz(3.1034, 2.6439, 4.0875)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382838 #283828
analogous
#302838 #382838 #382830
triadic
#382838 #383828 #283838
tetradic
#382838 #383028 #283828 #283038
square
#382838 #383028 #283828 #283038
split-complementary
#382838 #303828 #283830
monochromatic
#120D12 #140F14 #382838 #5C425C #7F5B7F

Accessibility & contrast

On white

13.74
#382838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#382838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382838
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382838#FFFFFF#000000##FFFFFF
##3828381.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C39
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#39292E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #382838;
/* rgb */ color: rgb(56, 40, 56);
/* oklch */ color: oklch(30.2% 0.036 326.4);
Tailwind
colors: {
  custom: {
    50: '#6f626e',
    500: '#382838',
    950: '#000000',
  },
}
SCSS
$custom: #382838;
$custom-light: #6f626e;
$custom-dark: #000000;
JSON
{
  "hex": "#382838",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30216,
    "c": 0.03598,
    "h": 326.4
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#382838
secondary
#536953
accent
#B96E6E
background
#F6F5F6
surface
#ECEAEB
border
#C7C6C6
text
#070507
muted
#7A797A

Preview Lab

Preview with #382838

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

Preview Lab → · Contrast checker → · Palette generator →

#382838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva