#382836#382836

#382836 is a dark, muted purple. Relative luminance 0.026; OKLCH L 30.1% C 0.033 H 330.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#382836
RGBrgb(56, 40, 54)
HSLhsl(308, 17%, 19%)
HSVhsv(308, 29%, 22%)
CMYKcmyk(0%, 28.6%, 3.6%, 78%)
CIE-LABlab(18.47, 10.39, -6.12)
CIE-LCHlch(18.47, 12.06, 329.49°)
OKLaboklab(30.12% 0.0292 -0.0164)
OKLCHoklch(30.12% 0.033 330.7)
XYZxyz(3.0555, 2.6248, 3.8350)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382836 #28382A
analogous
#322838 #382836 #38282E
triadic
#382836 #363828 #283638
tetradic
#382836 #383228 #28382A #282E38
square
#382836 #383228 #28382A #282E38
split-complementary
#382836 #2E3828 #283832
monochromatic
#120D11 #140F14 #382836 #5C4258 #7F5B7B

Accessibility & contrast

On white

13.77
#382836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382836
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382836#FFFFFF#000000##FFFFFF
##3828361.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C37
Deuteranopia (green-blind)
#2B2E35
Tritanopia (blue-blind)
#39292D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #382836;
/* rgb */ color: rgb(56, 40, 54);
/* oklch */ color: oklch(30.1% 0.033 330.7);
Tailwind
colors: {
  custom: {
    50: '#6e626d',
    500: '#382836',
    950: '#000000',
  },
}
SCSS
$custom: #382836;
$custom-light: #6e626d;
$custom-dark: #000000;
JSON
{
  "hex": "#382836",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 307.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30124,
    "c": 0.03348,
    "h": 330.7
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#382836
secondary
#536956
accent
#B9786E
background
#F6F5F6
surface
#ECEAEB
border
#C7C6C6
text
#070507
muted
#7A797A

Preview Lab

Preview with #382836

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

Preview Lab → · Contrast checker → · Palette generator →

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