#380D3A#380D3A

#380D3A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.093 H 326.0°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#380D3A
RGBrgb(56, 13, 58)
HSLhsl(297, 63%, 14%)
HSVhsv(297, 78%, 23%)
CMYKcmyk(3.4%, 77.6%, 0%, 77.3%)
CIE-LABlab(12.18, 27.97, -18.69)
CIE-LCHlch(12.18, 33.64, 326.25°)
OKLaboklab(25.5% 0.0769 -0.0518)
OKLCHoklch(25.5% 0.093 326)
XYZxyz(2.5385, 1.4343, 4.1453)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D3A #0F3A0D
analogous
#220D3A #380D3A #3A0D26
triadic
#380D3A #3A380D #0D3A38
tetradic
#380D3A #3A220D #0F3A0D #0D263A
square
#380D3A #3A220D #0F3A0D #0D263A
split-complementary
#380D3A #263A0D #0D3A22
monochromatic
#180619 #180619 #380D3A #68186C #99239E

Accessibility & contrast

On white

16.32
#380D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D3A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D3A#FFFFFF#000000##FFFFFF
##380D3A1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#172239
Tritanopia (blue-blind)
#3A1422
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380d3a;
/* rgb */ color: rgb(56, 13, 58);
/* oklch */ color: oklch(25.5% 0.093 326.0);
Tailwind
colors: {
  custom: {
    50: '#715070',
    500: '#380d3a',
    950: '#000000',
  },
}
SCSS
$custom: #380d3a;
$custom-light: #715070;
$custom-dark: #000000;
JSON
{
  "hex": "#380d3a",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 297.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25501,
    "c": 0.09272,
    "h": 326
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#380D3A
secondary
#30762D
accent
#E64149
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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