#380D44#380D44

#380D44 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.103 H 317.8°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#380D44
RGBrgb(56, 13, 68)
HSLhsl(287, 68%, 16%)
HSVhsv(287, 81%, 27%)
CMYKcmyk(17.6%, 80.9%, 0%, 73.3%)
CIE-LABlab(12.90, 30.19, -24.63)
CIE-LCHlch(12.90, 38.97, 320.79°)
OKLaboklab(26.24% 0.0764 -0.0692)
OKLCHoklch(26.24% 0.103 317.8)
XYZxyz(2.8181, 1.5461, 5.6177)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D44 #19440D
analogous
#1C0D44 #380D44 #440D34
triadic
#380D44 #44380D #0D4438
tetradic
#380D44 #441C0D #19440D #0D3444
square
#380D44 #441C0D #19440D #0D3444
split-complementary
#380D44 #34440D #0D441C
monochromatic
#15051A #15051A #380D44 #621777 #8D21AB

Accessibility & contrast

On white

16.04
#380D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D44
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D44#FFFFFF#000000##FFFFFF
##380D441.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#0F2343
Tritanopia (blue-blind)
#381827
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380d44;
/* rgb */ color: rgb(56, 13, 68);
/* oklch */ color: oklch(26.2% 0.103 317.8);
Tailwind
colors: {
  custom: {
    50: '#715078',
    500: '#380d44',
    950: '#000000',
  },
}
SCSS
$custom: #380d44;
$custom-light: #715078;
$custom-dark: #000000;
JSON
{
  "hex": "#380d44",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 286.909,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26242,
    "c": 0.1031,
    "h": 317.8
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#380D44
secondary
#3F7F2D
accent
#EB3D63
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380D44

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

Preview Lab → · Contrast checker → · Palette generator →

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