#382840#382840

#382840 is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.6% C 0.047 H 314.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#382840
RGBrgb(56, 40, 64)
HSLhsl(280, 23%, 20%)
HSVhsv(280, 38%, 25%)
CMYKcmyk(12.5%, 37.5%, 0%, 74.9%)
CIE-LABlab(18.92, 12.83, -12.36)
CIE-LCHlch(18.92, 17.82, 316.08°)
OKLaboklab(30.61% 0.0328 -0.0339)
OKLCHoklch(30.61% 0.047 314.1)
XYZxyz(3.3149, 2.7286, 5.2015)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382840 #304028
analogous
#2C2840 #382840 #40283C
triadic
#382840 #403828 #284038
tetradic
#382840 #402C28 #304028 #283C40
square
#382840 #402C28 #304028 #283C40
split-complementary
#382840 #3C4028 #28402C
monochromatic
#100C13 #17101A #382840 #594066 #7A578B

Accessibility & contrast

On white

13.59
#382840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#382840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382840
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382840#FFFFFF#000000##FFFFFF
##3828401.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D41
Deuteranopia (green-blind)
#282E3F
Tritanopia (blue-blind)
#372B31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #382840;
/* rgb */ color: rgb(56, 40, 64);
/* oklch */ color: oklch(30.6% 0.047 314.1);
Tailwind
colors: {
  custom: {
    50: '#6f6275',
    500: '#382840',
    950: '#000000',
  },
}
SCSS
$custom: #382840;
$custom-light: #6f6275;
$custom-dark: #000000;
JSON
{
  "hex": "#382840",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 280,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30614,
    "c": 0.04714,
    "h": 314.1
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#382840
secondary
#5D7252
accent
#C06885
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #382840

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

Preview Lab → · Contrast checker → · Palette generator →

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