#380B43#380B43

#380B43 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 318.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#380B43
RGBrgb(56, 11, 67)
HSLhsl(288, 72%, 15%)
HSVhsv(288, 84%, 26%)
CMYKcmyk(16.4%, 83.6%, 0%, 73.7%)
CIE-LABlab(12.52, 30.84, -24.54)
CIE-LCHlch(12.52, 39.41, 321.48°)
OKLaboklab(25.95% 0.0788 -0.0689)
OKLCHoklch(25.95% 0.105 318.8)
XYZxyz(2.7635, 1.4855, 5.4503)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B43 #16430B
analogous
#1C0B43 #380B43 #430B32
triadic
#380B43 #43380B #0B4338
tetradic
#380B43 #431C0B #16430B #0B3243
square
#380B43 #431C0B #16430B #0B3243
split-complementary
#380B43 #32430B #0B431C
monochromatic
#16041A #16041A #380B43 #641478 #901CAC

Accessibility & contrast

On white

16.19
#380B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B43
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B43#FFFFFF#000000##FFFFFF
##380B431.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#381726
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b43;
/* rgb */ color: rgb(56, 11, 67);
/* oklch */ color: oklch(25.9% 0.105 318.8);
Tailwind
colors: {
  custom: {
    50: '#715077',
    500: '#380b43',
    950: '#000000',
  },
}
SCSS
$custom: #380b43;
$custom-light: #715077;
$custom-dark: #000000;
JSON
{
  "hex": "#380b43",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 288.214,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25946,
    "c": 0.1047,
    "h": 318.8
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#380B43
secondary
#3B802A
accent
#EF395D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B43

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

Preview Lab → · Contrast checker → · Palette generator →

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