#380641#380641

#380641 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.109 H 320.8°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#380641
RGBrgb(56, 6, 65)
HSLhsl(291, 83%, 14%)
HSVhsv(291, 91%, 25%)
CMYKcmyk(13.8%, 90.8%, 0%, 74.5%)
CIE-LABlab(11.64, 32.48, -24.54)
CIE-LCHlch(11.64, 40.71, 322.92°)
OKLaboklab(25.28% 0.0846 -0.0689)
OKLCHoklch(25.28% 0.109 320.8)
XYZxyz(2.6500, 1.3528, 5.1215)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380641 #0F4106
analogous
#1B0641 #380641 #41062D
triadic
#380641 #413806 #064138
tetradic
#380641 #411B06 #0F4106 #062D41
square
#380641 #411B06 #0F4106 #062D41
split-complementary
#380641 #2D4106 #06411B
monochromatic
#18031C #18031C #380641 #680B79 #9910B1

Accessibility & contrast

On white

16.53
#380641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380641
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380641#FFFFFF#000000##FFFFFF
##3806411.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#0D2040
Tritanopia (blue-blind)
#381324
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380641;
/* rgb */ color: rgb(56, 6, 65);
/* oklch */ color: oklch(25.3% 0.109 320.8);
Tailwind
colors: {
  custom: {
    50: '#714d76',
    500: '#380641',
    950: '#000000',
  },
}
SCSS
$custom: #380641;
$custom-light: #714d76;
$custom-dark: #000000;
JSON
{
  "hex": "#380641",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 290.847,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25277,
    "c": 0.10908,
    "h": 320.8
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#380641
secondary
#308122
accent
#F92E4D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380641

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

Preview Lab → · Contrast checker → · Palette generator →

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