#380B48#380B48

#380B48 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.110 H 315.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#380B48
RGBrgb(56, 11, 72)
HSLhsl(284, 73%, 16%)
HSVhsv(284, 85%, 28%)
CMYKcmyk(22.2%, 84.7%, 0%, 71.8%)
CIE-LABlab(12.91, 31.98, -27.41)
CIE-LCHlch(12.91, 42.12, 319.41°)
OKLaboklab(26.35% 0.0781 -0.0773)
OKLCHoklch(26.35% 0.11 315.3)
XYZxyz(2.9201, 1.5481, 6.2746)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B48 #1B480B
analogous
#1A0B48 #380B48 #480B3A
triadic
#380B48 #48380B #0B4838
tetradic
#380B48 #481A0B #1B480B #0B3A48
square
#380B48 #481A0B #1B480B #0B3A48
split-complementary
#380B48 #3A480B #0B481A
monochromatic
#15041B #15041B #380B48 #61137D #8B1BB2

Accessibility & contrast

On white

16.04
#380B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B48
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B48#FFFFFF#000000##FFFFFF
##380B481.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#092347
Tritanopia (blue-blind)
#371929
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b48;
/* rgb */ color: rgb(56, 11, 72);
/* oklch */ color: oklch(26.4% 0.110 315.3);
Tailwind
colors: {
  custom: {
    50: '#71507b',
    500: '#380b48',
    950: '#000000',
  },
}
SCSS
$custom: #380b48;
$custom-light: #71507b;
$custom-dark: #000000;
JSON
{
  "hex": "#380b48",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 284.262,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26351,
    "c": 0.10987,
    "h": 315.3
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#380B48
secondary
#42842A
accent
#F03868
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B48

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

Preview Lab → · Contrast checker → · Palette generator →

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