#380B44#380B44

#380B44 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.106 H 318.1°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#380B44
RGBrgb(56, 11, 68)
HSLhsl(287, 72%, 15%)
HSVhsv(287, 84%, 27%)
CMYKcmyk(17.6%, 83.8%, 0%, 73.3%)
CIE-LABlab(12.59, 31.06, -25.12)
CIE-LCHlch(12.59, 39.95, 321.04°)
OKLaboklab(26.03% 0.0787 -0.0706)
OKLCHoklch(26.03% 0.106 318.1)
XYZxyz(2.7938, 1.4976, 5.6096)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B44 #17440B
analogous
#1B0B44 #380B44 #440B33
triadic
#380B44 #44380B #0B4438
tetradic
#380B44 #441B0B #17440B #0B3344
square
#380B44 #441B0B #17440B #0B3344
split-complementary
#380B44 #33440B #0B441B
monochromatic
#16041A #16041A #380B44 #631479 #8F1CAD

Accessibility & contrast

On white

16.16
#380B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#380B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B44
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B44#FFFFFF#000000##FFFFFF
##380B441.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#0E2243
Tritanopia (blue-blind)
#381727
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b44;
/* rgb */ color: rgb(56, 11, 68);
/* oklch */ color: oklch(26.0% 0.106 318.1);
Tailwind
colors: {
  custom: {
    50: '#715078',
    500: '#380b44',
    950: '#000000',
  },
}
SCSS
$custom: #380b44;
$custom-light: #715078;
$custom-dark: #000000;
JSON
{
  "hex": "#380b44",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 287.368,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26025,
    "c": 0.10573,
    "h": 318.1
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#380B44
secondary
#3C812A
accent
#EF395F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B44

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

Preview Lab → · Contrast checker → · Palette generator →

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