#382C46#382C46

#382C46 is a dark, muted violet. Relative luminance 0.031; OKLCH L 31.8% C 0.048 H 305.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#382C46
RGBrgb(56, 44, 70)
HSLhsl(268, 23%, 22%)
HSVhsv(268, 37%, 27%)
CMYKcmyk(20%, 37.1%, 0%, 72.5%)
CIE-LABlab(20.38, 11.68, -14.21)
CIE-LCHlch(20.38, 18.40, 309.43°)
OKLaboklab(31.82% 0.0274 -0.0392)
OKLCHoklch(31.82% 0.048 305)
XYZxyz(3.6368, 3.0843, 6.1969)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C46 #3A462C
analogous
#2C2D46 #382C46 #452C46
triadic
#382C46 #46382C #2C4638
tetradic
#382C46 #462C2D #3A462C #2C4645
square
#382C46 #462C2D #3A462C #2C4645
split-complementary
#382C46 #46452C #2D462C
monochromatic
#0F0C13 #1A1420 #382C46 #56446C #745B91

Accessibility & contrast

On white

12.99
#382C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382C46
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C46#FFFFFF#000000##FFFFFF
##382C461.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#363035
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382c46;
/* rgb */ color: rgb(56, 44, 70);
/* oklch */ color: oklch(31.8% 0.048 305.0);
Tailwind
colors: {
  custom: {
    50: '#6f6579',
    500: '#382c46',
    950: '#000000',
  },
}
SCSS
$custom: #382c46;
$custom-light: #6f6579;
$custom-dark: #000000;
JSON
{
  "hex": "#382c46",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 267.692,
    "s": 22.807,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31821,
    "c": 0.04783,
    "h": 305
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#382C46
secondary
#687756
accent
#BF6897
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070509
muted
#7A7A7B

Preview Lab

Preview with #382C46

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

Preview Lab → · Contrast checker → · Palette generator →

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