#380C40#380C40

#380C40 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.100 H 321.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#380C40
RGBrgb(56, 12, 64)
HSLhsl(291, 68%, 15%)
HSVhsv(291, 81%, 25%)
CMYKcmyk(12.5%, 81.2%, 0%, 74.9%)
CIE-LABlab(12.44, 29.74, -22.55)
CIE-LCHlch(12.44, 37.32, 322.83°)
OKLaboklab(25.82% 0.078 -0.0631)
OKLCHoklch(25.82% 0.1 321)
XYZxyz(2.6877, 1.4740, 4.9924)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C40 #14400C
analogous
#1E0C40 #380C40 #400C2E
triadic
#380C40 #40380C #0C4038
tetradic
#380C40 #401E0C #14400C #0C2E40
square
#380C40 #401E0C #14400C #0C2E40
split-complementary
#380C40 #2E400C #0C401E
monochromatic
#17051A #17051A #380C40 #651674 #921FA7

Accessibility & contrast

On white

16.22
#380C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#380C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C40
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C40#FFFFFF#000000##FFFFFF
##380C401.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#381625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380c40;
/* rgb */ color: rgb(56, 12, 64);
/* oklch */ color: oklch(25.8% 0.100 321.0);
Tailwind
colors: {
  custom: {
    50: '#715075',
    500: '#380c40',
    950: '#000000',
  },
}
SCSS
$custom: #380c40;
$custom-light: #715075;
$custom-dark: #000000;
JSON
{
  "hex": "#380c40",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 290.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25821,
    "c": 0.10029,
    "h": 321
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#380C40
secondary
#387C2C
accent
#EB3D57
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380C40

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

Preview Lab → · Contrast checker → · Palette generator →

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