#380D45#380D45

#380D45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.104 H 317.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#380D45
RGBrgb(56, 13, 69)
HSLhsl(286, 68%, 16%)
HSVhsv(286, 81%, 27%)
CMYKcmyk(18.8%, 81.2%, 0%, 72.9%)
CIE-LABlab(12.97, 30.42, -25.21)
CIE-LCHlch(12.97, 39.51, 320.36°)
OKLaboklab(26.32% 0.0763 -0.0709)
OKLCHoklch(26.32% 0.104 317.1)
XYZxyz(2.8488, 1.5584, 5.7798)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D45 #1A450D
analogous
#1C0D45 #380D45 #450D36
triadic
#380D45 #45380D #0D4538
tetradic
#380D45 #451C0D #1A450D #0D3645
square
#380D45 #451C0D #1A450D #0D3645
split-complementary
#380D45 #36450D #0D451C
monochromatic
#15051A #15051A #380D45 #621778 #8C20AC

Accessibility & contrast

On white

16.01
#380D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D45
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D45#FFFFFF#000000##FFFFFF
##380D451.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#0E2344
Tritanopia (blue-blind)
#371928
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380d45;
/* rgb */ color: rgb(56, 13, 69);
/* oklch */ color: oklch(26.3% 0.104 317.1);
Tailwind
colors: {
  custom: {
    50: '#715179',
    500: '#380d45',
    950: '#000000',
  },
}
SCSS
$custom: #380d45;
$custom-light: #715179;
$custom-dark: #000000;
JSON
{
  "hex": "#380d45",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 286.071,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26321,
    "c": 0.10416,
    "h": 317.1
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#380D45
secondary
#41802D
accent
#EB3D65
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380D45

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

Preview Lab → · Contrast checker → · Palette generator →

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