#380D49#380D49

#380D49 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.108 H 314.3°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#380D49
RGBrgb(56, 13, 73)
HSLhsl(283, 70%, 17%)
HSVhsv(283, 82%, 29%)
CMYKcmyk(23.3%, 82.2%, 0%, 71.4%)
CIE-LABlab(13.29, 31.37, -27.49)
CIE-LCHlch(13.29, 41.71, 318.77°)
OKLaboklab(26.65% 0.0758 -0.0776)
OKLCHoklch(26.65% 0.108 314.3)
XYZxyz(2.9772, 1.6097, 6.4559)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D49 #1E490D
analogous
#1A0D49 #380D49 #490D3C
triadic
#380D49 #49380D #0D4938
tetradic
#380D49 #491A0D #1E490D #0D3C49
square
#380D49 #491A0D #1E490D #0D3C49
split-complementary
#380D49 #3C490D #0D491A
monochromatic
#14051A #14051A #380D49 #60167D #8820B1

Accessibility & contrast

On white

15.89
#380D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D49
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D49#FFFFFF#000000##FFFFFF
##380D491.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#092348
Tritanopia (blue-blind)
#361A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380d49;
/* rgb */ color: rgb(56, 13, 73);
/* oklch */ color: oklch(26.6% 0.108 314.3);
Tailwind
colors: {
  custom: {
    50: '#71517c',
    500: '#380d49',
    950: '#000000',
  },
}
SCSS
$custom: #380d49;
$custom-light: #71517c;
$custom-dark: #000000;
JSON
{
  "hex": "#380d49",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 283,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26645,
    "c": 0.10842,
    "h": 314.3
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#380D49
secondary
#46842D
accent
#ED3B6D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380D49

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

Preview Lab → · Contrast checker → · Palette generator →

#380D49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva