#380A3D#380A3D

#380A3D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.100 H 323.6°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#380A3D
RGBrgb(56, 10, 61)
HSLhsl(294, 72%, 14%)
HSVhsv(294, 84%, 24%)
CMYKcmyk(8.2%, 83.6%, 0%, 76.1%)
CIE-LABlab(11.92, 29.94, -21.24)
CIE-LCHlch(11.92, 36.71, 324.64°)
OKLaboklab(25.38% 0.0805 -0.0593)
OKLCHoklch(25.38% 0.1 323.6)
XYZxyz(2.5817, 1.3949, 4.5472)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A3D #0F3D0A
analogous
#1F0A3D #380A3D #3D0A29
triadic
#380A3D #3D380A #0A3D38
tetradic
#380A3D #3D1F0A #0F3D0A #0A293D
square
#380A3D #3D1F0A #0F3D0A #0A293D
split-complementary
#380A3D #293D0A #0A3D1F
monochromatic
#18041A #18041A #380A3D #681372 #991BA6

Accessibility & contrast

On white

16.42
#380A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380A3D
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A3D#FFFFFF#000000##FFFFFF
##380A3D1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#13213C
Tritanopia (blue-blind)
#391323
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380a3d;
/* rgb */ color: rgb(56, 10, 61);
/* oklch */ color: oklch(25.4% 0.100 323.6);
Tailwind
colors: {
  custom: {
    50: '#714f73',
    500: '#380a3d',
    950: '#000000',
  },
}
SCSS
$custom: #380a3d;
$custom-light: #714f73;
$custom-dark: #000000;
JSON
{
  "hex": "#380a3d",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 294.118,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25382,
    "c": 0.09995,
    "h": 323.6
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#380A3D
secondary
#307A28
accent
#EF394B
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #380A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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