#380F45#380F45

#380F45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.101 H 316.8°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#380F45
RGBrgb(56, 15, 69)
HSLhsl(286, 64%, 16%)
HSVhsv(286, 78%, 27%)
CMYKcmyk(18.8%, 78.3%, 0%, 72.9%)
CIE-LABlab(13.30, 29.49, -24.68)
CIE-LCHlch(13.30, 38.45, 320.08°)
OKLaboklab(26.56% 0.0739 -0.0693)
OKLCHoklch(26.56% 0.101 316.8)
XYZxyz(2.8757, 1.6122, 5.7888)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F45 #1C450F
analogous
#1D0F45 #380F45 #450F37
triadic
#380F45 #45380F #0F4538
tetradic
#380F45 #451D0F #1C450F #0F3745
square
#380F45 #451D0F #1C450F #0F3745
split-complementary
#380F45 #37450F #0F451D
monochromatic
#140519 #140519 #380F45 #611A77 #8A25AA

Accessibility & contrast

On white

15.88
#380F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F45
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F45#FFFFFF#000000##FFFFFF
##380F451.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#102344
Tritanopia (blue-blind)
#371A28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380f45;
/* rgb */ color: rgb(56, 15, 69);
/* oklch */ color: oklch(26.6% 0.101 316.8);
Tailwind
colors: {
  custom: {
    50: '#715279',
    500: '#380f45',
    950: '#000000',
  },
}
SCSS
$custom: #380f45;
$custom-light: #715279;
$custom-dark: #000000;
JSON
{
  "hex": "#380f45",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 285.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26556,
    "c": 0.10135,
    "h": 316.8
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#380F45
secondary
#437F30
accent
#E74169
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F45

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

Preview Lab → · Contrast checker → · Palette generator →

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