#380B39#380B39

#380B39 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.095 H 327.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#380B39
RGBrgb(56, 11, 57)
HSLhsl(299, 68%, 13%)
HSVhsv(299, 81%, 22%)
CMYKcmyk(1.8%, 80.7%, 0%, 77.6%)
CIE-LABlab(11.79, 28.67, -18.59)
CIE-LCHlch(11.79, 34.17, 327.05°)
OKLaboklab(25.2% 0.0794 -0.0515)
OKLCHoklch(25.2% 0.095 327)
XYZxyz(2.4890, 1.3757, 4.0045)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B39 #0C390B
analogous
#210B39 #380B39 #390B23
triadic
#380B39 #39380B #0B3938
tetradic
#380B39 #39210B #0C390B #0B2339
square
#380B39 #39210B #0C390B #0B2339
split-complementary
#380B39 #23390B #0B3921
monochromatic
#19051A #19051A #380B39 #6A156C #9D1FA0

Accessibility & contrast

On white

16.47
#380B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#380B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B39
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B39#FFFFFF#000000##FFFFFF
##380B391.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B3A
Deuteranopia (green-blind)
#162138
Tritanopia (blue-blind)
#3A1221
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380b39;
/* rgb */ color: rgb(56, 11, 57);
/* oklch */ color: oklch(25.2% 0.095 327.0);
Tailwind
colors: {
  custom: {
    50: '#714f6f',
    500: '#380b39',
    950: '#000000',
  },
}
SCSS
$custom: #380b39;
$custom-light: #714f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380b39",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 298.696,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.252,
    "c": 0.09466,
    "h": 327
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#380B39
secondary
#2C762A
accent
#EB3D41
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380B39

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

Preview Lab → · Contrast checker → · Palette generator →

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