#380C46#380C46

#380C46 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.107 H 316.5°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#380C46
RGBrgb(56, 12, 70)
HSLhsl(286, 71%, 16%)
HSVhsv(286, 83%, 27%)
CMYKcmyk(20%, 82.9%, 0%, 72.5%)
CIE-LABlab(12.90, 31.10, -26.03)
CIE-LCHlch(12.90, 40.56, 320.07°)
OKLaboklab(26.29% 0.0773 -0.0733)
OKLCHoklch(26.29% 0.107 316.5)
XYZxyz(2.8677, 1.5460, 5.9405)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C46 #1A460C
analogous
#1B0C46 #380C46 #460C37
triadic
#380C46 #46380C #0C4638
tetradic
#380C46 #461B0C #1A460C #0C3746
square
#380C46 #461B0C #1A460C #0C3746
split-complementary
#380C46 #37460C #0C461B
monochromatic
#15041A #15041A #380C46 #62157A #8C1EAE

Accessibility & contrast

On white

16.04
#380C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C46
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C46#FFFFFF#000000##FFFFFF
##380C461.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380c46;
/* rgb */ color: rgb(56, 12, 70);
/* oklch */ color: oklch(26.3% 0.107 316.5);
Tailwind
colors: {
  custom: {
    50: '#71507a',
    500: '#380c46',
    950: '#000000',
  },
}
SCSS
$custom: #380c46;
$custom-light: #71507a;
$custom-dark: #000000;
JSON
{
  "hex": "#380c46",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 285.517,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26291,
    "c": 0.10654,
    "h": 316.5
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#380C46
secondary
#41822C
accent
#ED3A66
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C46

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

Preview Lab → · Contrast checker → · Palette generator →

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