#382848#382848

#382848 is a dark, muted violet. Relative luminance 0.028; OKLCH L 31.1% C 0.059 H 306.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#382848
RGBrgb(56, 40, 72)
HSLhsl(270, 29%, 22%)
HSVhsv(270, 44%, 28%)
CMYKcmyk(22.2%, 44.4%, 0%, 71.8%)
CIE-LABlab(19.33, 14.98, -17.20)
CIE-LCHlch(19.33, 22.80, 311.05°)
OKLaboklab(31.06% 0.035 -0.0477)
OKLCHoklch(31.06% 0.059 306.3)
XYZxyz(3.5591, 2.8262, 6.4877)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382848 #384828
analogous
#282848 #382848 #482848
triadic
#382848 #483828 #284838
tetradic
#382848 #482828 #384828 #284848
square
#382848 #482828 #384828 #284848
split-complementary
#382848 #484828 #284828
monochromatic
#0F0B14 #191221 #382848 #573E6F #755497

Accessibility & contrast

On white

13.42
#382848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#382848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382848
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382848#FFFFFF#000000##FFFFFF
##3828481.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E49
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#362D34
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382848;
/* rgb */ color: rgb(56, 40, 72);
/* oklch */ color: oklch(31.1% 0.059 306.3);
Tailwind
colors: {
  custom: {
    50: '#6f627b',
    500: '#382848',
    950: '#000000',
  },
}
SCSS
$custom: #382848;
$custom-light: #6f627b;
$custom-dark: #000000;
JSON
{
  "hex": "#382848",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 270,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31062,
    "c": 0.05918,
    "h": 306.3
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#382848
secondary
#667A52
accent
#C56394
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #382848

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

Preview Lab → · Contrast checker → · Palette generator →

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