#380D40#380D40

#380D40 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.099 H 320.9°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#380D40
RGBrgb(56, 13, 64)
HSLhsl(291, 66%, 15%)
HSVhsv(291, 80%, 25%)
CMYKcmyk(12.5%, 79.7%, 0%, 74.9%)
CIE-LABlab(12.60, 29.28, -22.29)
CIE-LCHlch(12.60, 36.80, 322.72°)
OKLaboklab(25.94% 0.0768 -0.0623)
OKLCHoklch(25.94% 0.099 320.9)
XYZxyz(2.7001, 1.4989, 4.9966)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D40 #15400D
analogous
#1E0D40 #380D40 #400D2F
triadic
#380D40 #40380D #0D4038
tetradic
#380D40 #401E0D #15400D #0D2F40
square
#380D40 #401E0D #15400D #0D2F40
split-complementary
#380D40 #2F400D #0D401E
monochromatic
#160519 #160519 #380D40 #651773 #9122A6

Accessibility & contrast

On white

16.16
#380D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#380D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D40
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D40#FFFFFF#000000##FFFFFF
##380D401.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#13223F
Tritanopia (blue-blind)
#381625
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380d40;
/* rgb */ color: rgb(56, 13, 64);
/* oklch */ color: oklch(25.9% 0.099 320.9);
Tailwind
colors: {
  custom: {
    50: '#715075',
    500: '#380d40',
    950: '#000000',
  },
}
SCSS
$custom: #380d40;
$custom-light: #715075;
$custom-dark: #000000;
JSON
{
  "hex": "#380d40",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 290.588,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25935,
    "c": 0.09889,
    "h": 320.9
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#380D40
secondary
#3A7C2D
accent
#E93F59
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380D40

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

Preview Lab → · Contrast checker → · Palette generator →

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