#380F41#380F41

#380F41 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.097 H 319.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#380F41
RGBrgb(56, 15, 65)
HSLhsl(289, 63%, 16%)
HSVhsv(289, 77%, 25%)
CMYKcmyk(13.8%, 76.9%, 0%, 74.5%)
CIE-LABlab(13.01, 28.56, -22.34)
CIE-LCHlch(13.01, 36.26, 321.96°)
OKLaboklab(26.25% 0.0742 -0.0625)
OKLCHoklch(26.25% 0.097 319.9)
XYZxyz(2.7557, 1.5642, 5.1568)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F41 #18410F
analogous
#1F0F41 #380F41 #410F31
triadic
#380F41 #41380F #0F4138
tetradic
#380F41 #411F0F #18410F #0F3141
square
#380F41 #411F0F #18410F #0F3141
split-complementary
#380F41 #31410F #0F411F
monochromatic
#150619 #150619 #380F41 #631A73 #8E26A4

Accessibility & contrast

On white

16.00
#380F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F41
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F41#FFFFFF#000000##FFFFFF
##380F411.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#381826
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380f41;
/* rgb */ color: rgb(56, 15, 65);
/* oklch */ color: oklch(26.3% 0.097 319.9);
Tailwind
colors: {
  custom: {
    50: '#715176',
    500: '#380f41',
    950: '#000000',
  },
}
SCSS
$custom: #380f41;
$custom-light: #715176;
$custom-dark: #000000;
JSON
{
  "hex": "#380f41",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 289.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.09701,
    "h": 319.9
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#380F41
secondary
#3E7B30
accent
#E64260
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380F41

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

Preview Lab → · Contrast checker → · Palette generator →

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