#380D48#380D48

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

Color values

HEX#380D48
RGBrgb(56, 13, 72)
HSLhsl(284, 69%, 17%)
HSVhsv(284, 82%, 28%)
CMYKcmyk(22.2%, 81.9%, 0%, 71.8%)
CIE-LABlab(13.21, 31.13, -26.92)
CIE-LCHlch(13.21, 41.16, 319.14°)
OKLaboklab(26.56% 0.0759 -0.0759)
OKLCHoklch(26.56% 0.107 315)
XYZxyz(2.9443, 1.5966, 6.2827)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D48 #1D480D
analogous
#1B0D48 #380D48 #480D3B
triadic
#380D48 #48380D #0D4838
tetradic
#380D48 #481B0D #1D480D #0D3B48
square
#380D48 #481B0D #1D480D #0D3B48
split-complementary
#380D48 #3B480D #0D481B
monochromatic
#14051A #14051A #380D48 #60167C #8920B0

Accessibility & contrast

On white

15.92
#380D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D48
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D48#FFFFFF#000000##FFFFFF
##380D481.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#0B2347
Tritanopia (blue-blind)
#371A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380d48;
/* rgb */ color: rgb(56, 13, 72);
/* oklch */ color: oklch(26.6% 0.107 315.0);
Tailwind
colors: {
  custom: {
    50: '#71517b',
    500: '#380d48',
    950: '#000000',
  },
}
SCSS
$custom: #380d48;
$custom-light: #71517b;
$custom-dark: #000000;
JSON
{
  "hex": "#380d48",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 283.729,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26562,
    "c": 0.10735,
    "h": 315
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#380D48
secondary
#45832D
accent
#EC3C6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380D48

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

Preview Lab → · Contrast checker → · Palette generator →

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