#380540#380540

#380540 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.109 H 321.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#380540
RGBrgb(56, 5, 64)
HSLhsl(292, 86%, 14%)
HSVhsv(292, 92%, 25%)
CMYKcmyk(12.5%, 92.2%, 0%, 74.9%)
CIE-LABlab(11.41, 32.70, -24.20)
CIE-LCHlch(11.41, 40.68, 323.50°)
OKLaboklab(25.09% 0.0859 -0.0678)
OKLCHoklch(25.09% 0.109 321.7)
XYZxyz(2.6105, 1.3196, 4.9667)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380540 #0D4005
analogous
#1A0540 #380540 #40052A
triadic
#380540 #403805 #054038
tetradic
#380540 #401A05 #0D4005 #052A40
square
#380540 #401A05 #0D4005 #052A40
split-complementary
#380540 #2A4005 #05401A
monochromatic
#19021C #19021C #380540 #6A0979 #9B0EB2

Accessibility & contrast

On white

16.62
#380540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#380540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380540
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380540#FFFFFF#000000##FFFFFF
##3805401.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#391223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #380540;
/* rgb */ color: rgb(56, 5, 64);
/* oklch */ color: oklch(25.1% 0.109 321.7);
Tailwind
colors: {
  custom: {
    50: '#714d75',
    500: '#380540',
    950: '#000000',
  },
}
SCSS
$custom: #380540;
$custom-light: #714d75;
$custom-dark: #000000;
JSON
{
  "hex": "#380540",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 291.864,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25091,
    "c": 0.10947,
    "h": 321.7
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#380540
secondary
#2D8120
accent
#FC2C48
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #380540

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

Preview Lab → · Contrast checker → · Palette generator →

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