#382A4A#382A4A

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

Color values

HEX#382A4A
RGBrgb(56, 42, 74)
HSLhsl(266, 28%, 23%)
HSVhsv(266, 43%, 29%)
CMYKcmyk(24.3%, 43.2%, 0%, 71%)
CIE-LABlab(20.01, 14.17, -17.50)
CIE-LCHlch(20.01, 22.51, 308.99°)
OKLaboklab(31.61% 0.032 -0.0486)
OKLCHoklch(31.61% 0.058 303.4)
XYZxyz(3.6946, 2.9911, 6.8599)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A4A #3C4A2A
analogous
#2A2C4A #382A4A #482A4A
triadic
#382A4A #4A382A #2A4A38
tetradic
#382A4A #4A2A2C #3C4A2A #2A4A48
square
#382A4A #4A2A2C #3C4A2A #2A4A48
split-complementary
#382A4A #4A482A #2C4A2A
monochromatic
#0F0B14 #1A1423 #382A4A #564071 #735698

Accessibility & contrast

On white

13.14
#382A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#382A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A4A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A4A#FFFFFF#000000##FFFFFF
##382A4A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304B
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#352F36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #382a4a;
/* rgb */ color: rgb(56, 42, 74);
/* oklch */ color: oklch(31.6% 0.058 303.4);
Tailwind
colors: {
  custom: {
    50: '#6f637c',
    500: '#382a4a',
    950: '#000000',
  },
}
SCSS
$custom: #382a4a;
$custom-light: #6f637c;
$custom-dark: #000000;
JSON
{
  "hex": "#382a4a",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 266.25,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.05821,
    "h": 303.4
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#382A4A
secondary
#6A7C54
accent
#C4649A
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#070509
muted
#7A797B

Preview Lab

Preview with #382A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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