#380B38#380B38

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

Color values

HEX#380B38
RGBrgb(56, 11, 56)
HSLhsl(300, 67%, 13%)
HSVhsv(300, 80%, 22%)
CMYKcmyk(0%, 80.4%, 0%, 78%)
CIE-LABlab(11.73, 28.47, -17.98)
CIE-LCHlch(11.73, 33.67, 327.73°)
OKLaboklab(25.13% 0.0794 -0.0497)
OKLCHoklch(25.13% 0.094 327.9)
XYZxyz(2.4643, 1.3658, 3.8744)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B38 #0B380B
analogous
#210B38 #380B38 #380B21
triadic
#380B38 #38380B #0B3838
tetradic
#380B38 #38210B #0B380B #0B2138
square
#380B38 #38210B #0B380B #0B2138
split-complementary
#380B38 #21380B #0B3821
monochromatic
#1A051A #1A051A #380B38 #6B156B #9E1F9E

Accessibility & contrast

On white

16.49
#380B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#380B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B38
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B38#FFFFFF#000000##FFFFFF
##380B381.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380b38;
/* rgb */ color: rgb(56, 11, 56);
/* oklch */ color: oklch(25.1% 0.094 327.9);
Tailwind
colors: {
  custom: {
    50: '#714f6f',
    500: '#380b38',
    950: '#000000',
  },
}
SCSS
$custom: #380b38;
$custom-light: #714f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380b38",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2513,
    "c": 0.09369,
    "h": 327.9
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#380B38
secondary
#2A752A
accent
#EA3E3E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380B38

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

Preview Lab → · Contrast checker → · Palette generator →

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