#380541#380541

#380541 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.2% C 0.110 H 320.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#380541
RGBrgb(56, 5, 65)
HSLhsl(291, 86%, 14%)
HSVhsv(291, 92%, 25%)
CMYKcmyk(13.8%, 92.3%, 0%, 74.5%)
CIE-LABlab(11.49, 32.91, -24.78)
CIE-LCHlch(11.49, 41.20, 323.02°)
OKLaboklab(25.17% 0.0857 -0.0696)
OKLCHoklch(25.17% 0.11 320.9)
XYZxyz(2.6392, 1.3311, 5.1179)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380541 #0E4105
analogous
#1A0541 #380541 #41052C
triadic
#380541 #413805 #054138
tetradic
#380541 #411A05 #0E4105 #052C41
square
#380541 #411A05 #0E4105 #052C41
split-complementary
#380541 #2C4105 #05411A
monochromatic
#18021C #18021C #380541 #69097A #9A0EB3

Accessibility & contrast

On white

16.59
#380541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#380541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380541
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380541#FFFFFF#000000##FFFFFF
##3805411.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#381224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #380541;
/* rgb */ color: rgb(56, 5, 65);
/* oklch */ color: oklch(25.2% 0.110 320.9);
Tailwind
colors: {
  custom: {
    50: '#714d76',
    500: '#380541',
    950: '#000000',
  },
}
SCSS
$custom: #380541;
$custom-light: #714d76;
$custom-dark: #000000;
JSON
{
  "hex": "#380541",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 291,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25172,
    "c": 0.11041,
    "h": 320.9
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#380541
secondary
#2F8120
accent
#FC2C4B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #380541

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

Preview Lab → · Contrast checker → · Palette generator →

#380541 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva