#380C48#380C48

#380C48 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.109 H 315.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#380C48
RGBrgb(56, 12, 72)
HSLhsl(284, 71%, 16%)
HSVhsv(284, 83%, 28%)
CMYKcmyk(22.2%, 83.3%, 0%, 71.8%)
CIE-LABlab(13.06, 31.57, -27.17)
CIE-LCHlch(13.06, 41.65, 319.28°)
OKLaboklab(26.45% 0.077 -0.0766)
OKLCHoklch(26.45% 0.109 315.1)
XYZxyz(2.9319, 1.5717, 6.2786)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C48 #1C480C
analogous
#1A0C48 #380C48 #480C3A
triadic
#380C48 #48380C #0C4838
tetradic
#380C48 #481A0C #1C480C #0C3A48
square
#380C48 #481A0C #1C480C #0C3A48
split-complementary
#380C48 #3A480C #0C481A
monochromatic
#14041A #14041A #380C48 #61157C #8A1DB1

Accessibility & contrast

On white

15.98
#380C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C48
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C48#FFFFFF#000000##FFFFFF
##380C481.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#0A2347
Tritanopia (blue-blind)
#371929
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380c48;
/* rgb */ color: rgb(56, 12, 72);
/* oklch */ color: oklch(26.5% 0.109 315.1);
Tailwind
colors: {
  custom: {
    50: '#71507b',
    500: '#380c48',
    950: '#000000',
  },
}
SCSS
$custom: #380c48;
$custom-light: #71507b;
$custom-dark: #000000;
JSON
{
  "hex": "#380c48",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 284,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26454,
    "c": 0.10864,
    "h": 315.1
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#380C48
secondary
#43842C
accent
#EE3A6A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C48

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

Preview Lab → · Contrast checker → · Palette generator →

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