#380431#380431

#380431 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.9% C 0.098 H 334.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#380431
RGBrgb(56, 4, 49)
HSLhsl(308, 87%, 12%)
HSVhsv(308, 93%, 22%)
CMYKcmyk(0%, 92.9%, 12.5%, 78%)
CIE-LABlab(10.18, 30.27, -15.33)
CIE-LCHlch(10.18, 33.93, 333.13°)
OKLaboklab(23.87% 0.0882 -0.042)
OKLCHoklch(23.87% 0.098 334.5)
XYZxyz(2.2287, 1.1495, 3.0096)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380431 #04380B
analogous
#250438 #380431 #380417
triadic
#380431 #313804 #043138
tetradic
#380431 #382504 #04380B #041738
square
#380431 #382504 #04380B #041738
split-complementary
#380431 #173804 #043825
monochromatic
#1D0219 #1D0219 #380431 #710863 #AA0C95

Accessibility & contrast

On white

17.08
#380431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#380431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380431
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380431#FFFFFF#000000##FFFFFF
##3804311.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#171F30
Tritanopia (blue-blind)
#3B081A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380431;
/* rgb */ color: rgb(56, 4, 49);
/* oklch */ color: oklch(23.9% 0.098 334.5);
Tailwind
colors: {
  custom: {
    50: '#714b69',
    500: '#380431',
    950: '#000000',
  },
}
SCSS
$custom: #380431;
$custom-light: #714b69;
$custom-dark: #000000;
JSON
{
  "hex": "#380431",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 308.077,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23874,
    "c": 0.09773,
    "h": 334.5
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#380431
secondary
#1E7A2A
accent
#FD472B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #380431

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

Preview Lab → · Contrast checker → · Palette generator →

#380431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva