#380D38#380D38

#380D38 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.091 H 327.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#380D38
RGBrgb(56, 13, 56)
HSLhsl(300, 62%, 14%)
HSVhsv(300, 77%, 22%)
CMYKcmyk(0%, 76.8%, 0%, 78%)
CIE-LABlab(12.05, 27.56, -17.46)
CIE-LCHlch(12.05, 32.62, 327.64°)
OKLaboklab(25.36% 0.0768 -0.0483)
OKLCHoklch(25.36% 0.091 327.8)
XYZxyz(2.4886, 1.4143, 3.8825)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D38 #0D380D
analogous
#220D38 #380D38 #380D22
triadic
#380D38 #38380D #0D3838
tetradic
#380D38 #38220D #0D380D #0D2238
square
#380D38 #38220D #0D380D #0D2238
split-complementary
#380D38 #22380D #0D3822
monochromatic
#190619 #190619 #380D38 #6A196A #9B249B

Accessibility & contrast

On white

16.37
#380D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#380D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D38
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D38#FFFFFF#000000##FFFFFF
##380D381.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C39
Deuteranopia (green-blind)
#182237
Tritanopia (blue-blind)
#3A1321
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380d38;
/* rgb */ color: rgb(56, 13, 56);
/* oklch */ color: oklch(25.4% 0.091 327.8);
Tailwind
colors: {
  custom: {
    50: '#71506f',
    500: '#380d38',
    950: '#000000',
  },
}
SCSS
$custom: #380d38;
$custom-light: #71506f;
$custom-dark: #000000;
JSON
{
  "hex": "#380d38",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.09072,
    "h": 327.8
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#380D38
secondary
#2D732D
accent
#E54242
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380D38

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

Preview Lab → · Contrast checker → · Palette generator →

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