#380B45#380B45

#380B45 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.107 H 317.4°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#380B45
RGBrgb(56, 11, 69)
HSLhsl(287, 73%, 16%)
HSVhsv(287, 84%, 27%)
CMYKcmyk(18.8%, 84.1%, 0%, 72.9%)
CIE-LABlab(12.67, 31.29, -25.70)
CIE-LCHlch(12.67, 40.49, 320.61°)
OKLaboklab(26.11% 0.0786 -0.0723)
OKLCHoklch(26.11% 0.107 317.4)
XYZxyz(2.8246, 1.5099, 5.7717)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B45 #18450B
analogous
#1B0B45 #380B45 #450B35
triadic
#380B45 #45380B #0B4538
tetradic
#380B45 #451B0B #18450B #0B3545
square
#380B45 #451B0B #18450B #0B3545
split-complementary
#380B45 #35450B #0B451B
monochromatic
#15041A #15041A #380B45 #63137A #8E1CAF

Accessibility & contrast

On white

16.13
#380B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#380B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B45
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B45#FFFFFF#000000##FFFFFF
##380B451.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#0C2244
Tritanopia (blue-blind)
#371727
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b45;
/* rgb */ color: rgb(56, 11, 69);
/* oklch */ color: oklch(26.1% 0.107 317.4);
Tailwind
colors: {
  custom: {
    50: '#715079',
    500: '#380b45',
    950: '#000000',
  },
}
SCSS
$custom: #380b45;
$custom-light: #715079;
$custom-dark: #000000;
JSON
{
  "hex": "#380b45",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 286.552,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26105,
    "c": 0.10676,
    "h": 317.4
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#380B45
secondary
#3E812A
accent
#EF3962
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B45

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

Preview Lab → · Contrast checker → · Palette generator →

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