#380C38#380C38

#380C38 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.092 H 327.9°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#380C38
RGBrgb(56, 12, 56)
HSLhsl(300, 65%, 13%)
HSVhsv(300, 79%, 22%)
CMYKcmyk(0%, 78.6%, 0%, 78%)
CIE-LABlab(11.89, 28.02, -17.72)
CIE-LCHlch(11.89, 33.16, 327.68°)
OKLaboklab(25.25% 0.0781 -0.049)
OKLCHoklch(25.25% 0.092 327.9)
XYZxyz(2.4761, 1.3894, 3.8784)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C38 #0C380C
analogous
#220C38 #380C38 #380C22
triadic
#380C38 #38380C #0C3838
tetradic
#380C38 #38220C #0C380C #0C2238
square
#380C38 #38220C #0C380C #0C2238
split-complementary
#380C38 #22380C #0C3822
monochromatic
#190519 #190519 #380C38 #6A176A #9D229D

Accessibility & contrast

On white

16.43
#380C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C38
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C38#FFFFFF#000000##FFFFFF
##380C381.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C39
Deuteranopia (green-blind)
#172137
Tritanopia (blue-blind)
#3A1220
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380c38;
/* rgb */ color: rgb(56, 12, 56);
/* oklch */ color: oklch(25.2% 0.092 327.9);
Tailwind
colors: {
  custom: {
    50: '#714f6f',
    500: '#380c38',
    950: '#000000',
  },
}
SCSS
$custom: #380c38;
$custom-light: #714f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380c38",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25245,
    "c": 0.09224,
    "h": 327.9
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#380C38
secondary
#2C742C
accent
#E84040
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380C38

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

Preview Lab → · Contrast checker → · Palette generator →

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