#380B47#380B47

#380B47 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.109 H 316.0°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#380B47
RGBrgb(56, 11, 71)
HSLhsl(285, 73%, 16%)
HSVhsv(285, 85%, 28%)
CMYKcmyk(21.1%, 84.5%, 0%, 72.2%)
CIE-LABlab(12.83, 31.75, -26.84)
CIE-LCHlch(12.83, 41.58, 319.79°)
OKLaboklab(26.27% 0.0782 -0.0756)
OKLCHoklch(26.27% 0.109 316)
XYZxyz(2.8877, 1.5351, 6.1042)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B47 #1A470B
analogous
#1A0B47 #380B47 #470B38
triadic
#380B47 #47380B #0B4738
tetradic
#380B47 #471A0B #1A470B #0B3847
square
#380B47 #471A0B #1A470B #0B3847
split-complementary
#380B47 #38470B #0B471A
monochromatic
#15041A #15041A #380B47 #62137C #8C1BB1

Accessibility & contrast

On white

16.07
#380B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B47
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B47#FFFFFF#000000##FFFFFF
##380B471.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#0A2246
Tritanopia (blue-blind)
#371828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b47;
/* rgb */ color: rgb(56, 11, 71);
/* oklch */ color: oklch(26.3% 0.109 316.0);
Tailwind
colors: {
  custom: {
    50: '#71507b',
    500: '#380b47',
    950: '#000000',
  },
}
SCSS
$custom: #380b47;
$custom-light: #71507b;
$custom-dark: #000000;
JSON
{
  "hex": "#380b47",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 285,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26268,
    "c": 0.10883,
    "h": 316
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#380B47
secondary
#41832A
accent
#F03866
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B47

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

Preview Lab → · Contrast checker → · Palette generator →

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