#380C4A#380C4A

#380C4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.111 H 313.8°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#380C4A
RGBrgb(56, 12, 74)
HSLhsl(283, 72%, 17%)
HSVhsv(283, 84%, 29%)
CMYKcmyk(24.3%, 83.8%, 0%, 71%)
CIE-LABlab(13.22, 32.04, -28.30)
CIE-LCHlch(13.22, 42.74, 318.55°)
OKLaboklab(26.62% 0.0767 -0.0799)
OKLCHoklch(26.62% 0.111 313.8)
XYZxyz(2.9982, 1.5982, 6.6278)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C4A #1E4A0C
analogous
#190C4A #380C4A #4A0C3D
triadic
#380C4A #4A380C #0C4A38
tetradic
#380C4A #4A190C #1E4A0C #0C3D4A
square
#380C4A #4A190C #1E4A0C #0C3D4A
split-complementary
#380C4A #3D4A0C #0C4A19
monochromatic
#14041A #14041A #380C4A #60157F #881DB3

Accessibility & contrast

On white

15.91
#380C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C4A
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C4A#FFFFFF#000000##FFFFFF
##380C4A1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#072349
Tritanopia (blue-blind)
#361A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380c4a;
/* rgb */ color: rgb(56, 12, 74);
/* oklch */ color: oklch(26.6% 0.111 313.8);
Tailwind
colors: {
  custom: {
    50: '#71507d',
    500: '#380c4a',
    950: '#000000',
  },
}
SCSS
$custom: #380c4a;
$custom-light: #71507d;
$custom-dark: #000000;
JSON
{
  "hex": "#380c4a",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 282.581,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26621,
    "c": 0.11076,
    "h": 313.8
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#380C4A
secondary
#46862C
accent
#EF396E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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