#380C4B#380C4B

#380C4B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.112 H 313.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#380C4B
RGBrgb(56, 12, 75)
HSLhsl(282, 72%, 17%)
HSVhsv(282, 84%, 29%)
CMYKcmyk(25.3%, 84%, 0%, 70.6%)
CIE-LABlab(13.30, 32.28, -28.86)
CIE-LCHlch(13.30, 43.29, 318.20°)
OKLaboklab(26.71% 0.0765 -0.0816)
OKLCHoklch(26.71% 0.112 313.1)
XYZxyz(3.0321, 1.6118, 6.8066)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C4B #1F4B0C
analogous
#190C4B #380C4B #4B0C3F
triadic
#380C4B #4B380C #0C4B38
tetradic
#380C4B #4B190C #1F4B0C #0C3F4B
square
#380C4B #4B190C #1F4B0C #0C3F4B
split-complementary
#380C4B #3F4B0C #0C4B19
monochromatic
#14041A #14041A #380C4B #5F1480 #871DB5

Accessibility & contrast

On white

15.88
#380C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C4B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C4B#FFFFFF#000000##FFFFFF
##380C4B1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#361B2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380c4b;
/* rgb */ color: rgb(56, 12, 75);
/* oklch */ color: oklch(26.7% 0.112 313.1);
Tailwind
colors: {
  custom: {
    50: '#72507e',
    500: '#380c4b',
    950: '#000000',
  },
}
SCSS
$custom: #380c4b;
$custom-light: #72507e;
$custom-dark: #000000;
JSON
{
  "hex": "#380c4b",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 281.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26705,
    "c": 0.11181,
    "h": 313.1
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#380C4B
secondary
#47872C
accent
#EF3970
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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