#382C48#382C48

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

Color values

HEX#382C48
RGBrgb(56, 44, 72)
HSLhsl(266, 24%, 23%)
HSVhsv(266, 39%, 28%)
CMYKcmyk(22.2%, 38.9%, 0%, 71.8%)
CIE-LABlab(20.48, 12.23, -15.41)
CIE-LCHlch(20.48, 19.68, 308.45°)
OKLaboklab(31.93% 0.028 -0.0426)
OKLCHoklch(31.93% 0.051 303.3)
XYZxyz(3.7010, 3.1100, 6.5349)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C48 #3C482C
analogous
#2C2E48 #382C48 #462C48
triadic
#382C48 #48382C #2C4838
tetradic
#382C48 #482C2E #3C482C #2C4846
square
#382C48 #482C2E #3C482C #2C4846
split-complementary
#382C48 #48462C #2E482C
monochromatic
#0F0C13 #1A1522 #382C48 #56436E #735A94

Accessibility & contrast

On white

12.95
#382C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#382C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C48
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C48#FFFFFF#000000##FFFFFF
##382C481.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263149
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#353036
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382c48;
/* rgb */ color: rgb(56, 44, 72);
/* oklch */ color: oklch(31.9% 0.051 303.3);
Tailwind
colors: {
  custom: {
    50: '#6f657b',
    500: '#382c48',
    950: '#000000',
  },
}
SCSS
$custom: #382c48;
$custom-light: #6f657b;
$custom-dark: #000000;
JSON
{
  "hex": "#382c48",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 265.714,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.051,
    "h": 303.3
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#382C48
secondary
#6A7956
accent
#C1679A
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070509
muted
#7A7A7B

Preview Lab

Preview with #382C48

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

Preview Lab → · Contrast checker → · Palette generator →

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