#380C44#380C44

#380C44 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.104 H 318.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#380C44
RGBrgb(56, 12, 68)
HSLhsl(287, 70%, 16%)
HSVhsv(287, 82%, 27%)
CMYKcmyk(17.6%, 82.4%, 0%, 73.3%)
CIE-LABlab(12.74, 30.64, -24.88)
CIE-LCHlch(12.74, 39.47, 320.92°)
OKLaboklab(26.13% 0.0776 -0.0699)
OKLCHoklch(26.13% 0.104 318)
XYZxyz(2.8056, 1.5212, 5.6136)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C44 #18440C
analogous
#1C0C44 #380C44 #440C34
triadic
#380C44 #44380C #0C4438
tetradic
#380C44 #441C0C #18440C #0C3444
square
#380C44 #441C0C #18440C #0C3444
split-complementary
#380C44 #34440C #0C441C
monochromatic
#15051A #15051A #380C44 #631578 #8E1EAC

Accessibility & contrast

On white

16.10
#380C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C44
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C44#FFFFFF#000000##FFFFFF
##380C441.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380c44;
/* rgb */ color: rgb(56, 12, 68);
/* oklch */ color: oklch(26.1% 0.104 318.0);
Tailwind
colors: {
  custom: {
    50: '#715078',
    500: '#380c44',
    950: '#000000',
  },
}
SCSS
$custom: #380c44;
$custom-light: #715078;
$custom-dark: #000000;
JSON
{
  "hex": "#380c44",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 287.143,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26131,
    "c": 0.10445,
    "h": 318
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#380C44
secondary
#3E802C
accent
#ED3B61
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C44

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

Preview Lab → · Contrast checker → · Palette generator →

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