#382A46#382A46

#382A46 is a dark, muted violet. Relative luminance 0.029; OKLCH L 31.4% C 0.052 H 306.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#382A46
RGBrgb(56, 42, 70)
HSLhsl(270, 25%, 22%)
HSVhsv(270, 40%, 27%)
CMYKcmyk(20%, 40%, 0%, 72.5%)
CIE-LABlab(19.80, 13.06, -15.11)
CIE-LCHlch(19.80, 19.97, 310.83°)
OKLaboklab(31.38% 0.031 -0.0417)
OKLCHoklch(31.38% 0.052 306.6)
XYZxyz(3.5641, 2.9389, 6.1727)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A46 #38462A
analogous
#2A2A46 #382A46 #462A46
triadic
#382A46 #46382A #2A4638
tetradic
#382A46 #462A2A #38462A #2A4646
square
#382A46 #462A2A #38462A #2A4646
split-complementary
#382A46 #46462A #2A462A
monochromatic
#0F0B13 #191320 #382A46 #57416C #755893

Accessibility & contrast

On white

13.23
#382A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#382A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A46
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A46#FFFFFF#000000##FFFFFF
##382A461.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F47
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#362E34
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #382a46;
/* rgb */ color: rgb(56, 42, 70);
/* oklch */ color: oklch(31.4% 0.052 306.6);
Tailwind
colors: {
  custom: {
    50: '#6f6379',
    500: '#382a46',
    950: '#000000',
  },
}
SCSS
$custom: #382a46;
$custom-light: #6f6379;
$custom-dark: #000000;
JSON
{
  "hex": "#382a46",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31379,
    "c": 0.05197,
    "h": 306.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#382A46
secondary
#667854
accent
#C16694
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #382A46

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

Preview Lab → · Contrast checker → · Palette generator →

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