#382C42#382C42

#382C42 is a dark, muted violet. Relative luminance 0.030; OKLCH L 31.6% C 0.042 H 309.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#382C42
RGBrgb(56, 44, 66)
HSLhsl(273, 20%, 22%)
HSVhsv(273, 33%, 26%)
CMYKcmyk(15.2%, 33.3%, 0%, 74.1%)
CIE-LABlab(20.19, 10.61, -11.78)
CIE-LCHlch(20.19, 15.86, 312.00°)
OKLaboklab(31.61% 0.0261 -0.0323)
OKLCHoklch(31.61% 0.042 309)
XYZxyz(3.5148, 3.0355, 5.5539)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C42 #36422C
analogous
#2D2C42 #382C42 #422C41
triadic
#382C42 #42382C #2C4238
tetradic
#382C42 #422D2C #36422C #2C4142
square
#382C42 #422D2C #36422C #2C4142
split-complementary
#382C42 #41422C #2C422D
monochromatic
#100C12 #19141D #382C42 #574467 #765D8B

Accessibility & contrast

On white

13.07
#382C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#382C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C42
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C42#FFFFFF#000000##FFFFFF
##382C421.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#372F34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382c42;
/* rgb */ color: rgb(56, 44, 66);
/* oklch */ color: oklch(31.6% 0.042 309.0);
Tailwind
colors: {
  custom: {
    50: '#6f6576',
    500: '#382c42',
    950: '#000000',
  },
}
SCSS
$custom: #382c42;
$custom-light: #6f6576;
$custom-dark: #000000;
JSON
{
  "hex": "#382c42",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 272.727,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.04154,
    "h": 309
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#382C42
secondary
#647357
accent
#BD6B90
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070508
muted
#7A7A7B

Preview Lab

Preview with #382C42

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

Preview Lab → · Contrast checker → · Palette generator →

#382C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva