#380B46#380B46

#380B46 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.108 H 316.7°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#380B46
RGBrgb(56, 11, 70)
HSLhsl(286, 73%, 16%)
HSVhsv(286, 84%, 27%)
CMYKcmyk(20%, 84.3%, 0%, 72.5%)
CIE-LABlab(12.75, 31.52, -26.27)
CIE-LCHlch(12.75, 41.03, 320.19°)
OKLaboklab(26.19% 0.0784 -0.074)
OKLCHoklch(26.19% 0.108 316.7)
XYZxyz(2.8559, 1.5224, 5.9366)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B46 #19460B
analogous
#1A0B46 #380B46 #460B36
triadic
#380B46 #46380B #0B4638
tetradic
#380B46 #461A0B #19460B #0B3646
square
#380B46 #461A0B #19460B #0B3646
split-complementary
#380B46 #36460B #0B461A
monochromatic
#15041A #15041A #380B46 #62137B #8D1CB0

Accessibility & contrast

On white

16.10
#380B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B46
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B46#FFFFFF#000000##FFFFFF
##380B461.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#371828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380b46;
/* rgb */ color: rgb(56, 11, 70);
/* oklch */ color: oklch(26.2% 0.108 316.7);
Tailwind
colors: {
  custom: {
    50: '#71507a',
    500: '#380b46',
    950: '#000000',
  },
}
SCSS
$custom: #380b46;
$custom-light: #71507a;
$custom-dark: #000000;
JSON
{
  "hex": "#380b46",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 285.763,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.10779,
    "h": 316.7
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#380B46
secondary
#3F822A
accent
#F03864
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B46

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

Preview Lab → · Contrast checker → · Palette generator →

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