#380B41#380B41

#380B41 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.103 H 320.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#380B41
RGBrgb(56, 11, 65)
HSLhsl(290, 71%, 15%)
HSVhsv(290, 83%, 25%)
CMYKcmyk(13.8%, 83.1%, 0%, 74.5%)
CIE-LABlab(12.36, 30.39, -23.38)
CIE-LCHlch(12.36, 38.34, 322.43°)
OKLaboklab(25.79% 0.0791 -0.0655)
OKLCHoklch(25.79% 0.103 320.4)
XYZxyz(2.7046, 1.4619, 5.1397)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B41 #14410B
analogous
#1D0B41 #380B41 #410B2F
triadic
#380B41 #41380B #0B4138
tetradic
#380B41 #411D0B #14410B #0B2F41
square
#380B41 #411D0B #14410B #0B2F41
split-complementary
#380B41 #2F410B #0B411D
monochromatic
#17041A #17041A #380B41 #651475 #921DAA

Accessibility & contrast

On white

16.25
#380B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#380B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B41
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B41#FFFFFF#000000##FFFFFF
##380B411.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#381625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380b41;
/* rgb */ color: rgb(56, 11, 65);
/* oklch */ color: oklch(25.8% 0.103 320.4);
Tailwind
colors: {
  custom: {
    50: '#714f76',
    500: '#380b41',
    950: '#000000',
  },
}
SCSS
$custom: #380b41;
$custom-light: #714f76;
$custom-dark: #000000;
JSON
{
  "hex": "#380b41",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 290,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25789,
    "c": 0.10266,
    "h": 320.4
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#380B41
secondary
#387E2A
accent
#EE3A58
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380B41

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

Preview Lab → · Contrast checker → · Palette generator →

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