#382E3E#382E3E

#382E3E is a dark, muted violet. Relative luminance 0.031; OKLCH L 31.9% C 0.031 H 312.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#382E3E
RGBrgb(56, 46, 62)
HSLhsl(278, 15%, 21%)
HSVhsv(278, 26%, 24%)
CMYKcmyk(9.7%, 25.8%, 0%, 75.7%)
CIE-LABlab(20.61, 8.20, -8.41)
CIE-LCHlch(20.61, 11.75, 314.27°)
OKLaboklab(31.87% 0.021 -0.0228)
OKLCHoklch(31.87% 0.031 312.7)
XYZxyz(3.4772, 3.1426, 4.9799)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E3E #343E2E
analogous
#302E3E #382E3E #3E2E3C
triadic
#382E3E #3E382E #2E3E38
tetradic
#382E3E #3E302E #343E2E #2E3C3E
square
#382E3E #3E302E #343E2E #2E3C3E
split-complementary
#382E3E #3C3E2E #2E3E30
monochromatic
#100D12 #18141B #382E3E #584861 #776284

Accessibility & contrast

On white

12.89
#382E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#382E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E3E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E3E#FFFFFF#000000##FFFFFF
##382E3E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313F
Deuteranopia (green-blind)
#2E323D
Tritanopia (blue-blind)
#383033
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #382e3e;
/* rgb */ color: rgb(56, 46, 62);
/* oklch */ color: oklch(31.9% 0.031 312.7);
Tailwind
colors: {
  custom: {
    50: '#6e6673',
    500: '#382e3e',
    950: '#000000',
  },
}
SCSS
$custom: #382e3e;
$custom-light: #6e6673;
$custom-dark: #000000;
JSON
{
  "hex": "#382e3e",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 62
  },
  "hsl": {
    "h": 277.5,
    "s": 14.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.03102,
    "h": 312.7
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#382E3E
secondary
#616E5A
accent
#B8708B
background
#F6F6F6
surface
#ECEBEC
border
#C7C6C7
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #382E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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