#380D3F#380D3F

#380D3F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.098 H 321.7°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#380D3F
RGBrgb(56, 13, 63)
HSLhsl(292, 66%, 15%)
HSVhsv(292, 79%, 25%)
CMYKcmyk(11.1%, 79.4%, 0%, 75.3%)
CIE-LABlab(12.53, 29.06, -21.70)
CIE-LCHlch(12.53, 36.27, 323.25°)
OKLaboklab(25.86% 0.0768 -0.0606)
OKLCHoklch(25.86% 0.098 321.7)
XYZxyz(2.6719, 1.4876, 4.8481)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D3F #143F0D
analogous
#1F0D3F #380D3F #3F0D2D
triadic
#380D3F #3F380D #0D3F38
tetradic
#380D3F #3F1F0D #143F0D #0D2D3F
square
#380D3F #3F1F0D #143F0D #0D2D3F
split-complementary
#380D3F #2D3F0D #0D3F1F
monochromatic
#170519 #170519 #380D3F #651772 #9222A4

Accessibility & contrast

On white

16.19
#380D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D3F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D3F#FFFFFF#000000##FFFFFF
##380D3F1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#13223E
Tritanopia (blue-blind)
#391625
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380d3f;
/* rgb */ color: rgb(56, 13, 63);
/* oklch */ color: oklch(25.9% 0.098 321.7);
Tailwind
colors: {
  custom: {
    50: '#715074',
    500: '#380d3f',
    950: '#000000',
  },
}
SCSS
$custom: #380d3f;
$custom-light: #715074;
$custom-dark: #000000;
JSON
{
  "hex": "#380d3f",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 291.6,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2586,
    "c": 0.09785,
    "h": 321.7
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#380D3F
secondary
#387B2D
accent
#E93F57
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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