#380D3D#380D3D

#380D3D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.096 H 323.4°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#380D3D
RGBrgb(56, 13, 61)
HSLhsl(294, 65%, 15%)
HSVhsv(294, 79%, 24%)
CMYKcmyk(8.2%, 78.7%, 0%, 76.1%)
CIE-LABlab(12.39, 28.62, -20.50)
CIE-LCHlch(12.39, 35.21, 324.38°)
OKLaboklab(25.71% 0.0769 -0.0571)
OKLCHoklch(25.71% 0.096 323.4)
XYZxyz(2.6170, 1.4657, 4.5590)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D3D #123D0D
analogous
#200D3D #380D3D #3D0D2A
triadic
#380D3D #3D380D #0D3D38
tetradic
#380D3D #3D200D #123D0D #0D2A3D
square
#380D3D #3D200D #123D0D #0D2A3D
split-complementary
#380D3D #2A3D0D #0D3D20
monochromatic
#170519 #170519 #380D3D #66186F #9523A2

Accessibility & contrast

On white

16.24
#380D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#380D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D3D
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D3D#FFFFFF#000000##FFFFFF
##380D3D1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#15223C
Tritanopia (blue-blind)
#391523
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380d3d;
/* rgb */ color: rgb(56, 13, 61);
/* oklch */ color: oklch(25.7% 0.096 323.4);
Tailwind
colors: {
  custom: {
    50: '#715073',
    500: '#380d3d',
    950: '#000000',
  },
}
SCSS
$custom: #380d3d;
$custom-light: #715073;
$custom-dark: #000000;
JSON
{
  "hex": "#380d3d",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 293.75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25714,
    "c": 0.09578,
    "h": 323.4
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#380D3D
secondary
#35792D
accent
#E84051
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #380D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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