#380A4A#380A4A

#380A4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.113 H 314.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#380A4A
RGBrgb(56, 10, 74)
HSLhsl(283, 76%, 16%)
HSVhsv(283, 86%, 29%)
CMYKcmyk(24.3%, 86.5%, 0%, 71%)
CIE-LABlab(12.94, 32.85, -28.75)
CIE-LCHlch(12.94, 43.65, 318.80°)
OKLaboklab(26.42% 0.0787 -0.0813)
OKLCHoklch(26.42% 0.113 314.1)
XYZxyz(2.9752, 1.5524, 6.6201)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A4A #1C4A0A
analogous
#180A4A #380A4A #4A0A3C
triadic
#380A4A #4A380A #0A4A38
tetradic
#380A4A #4A180A #1C4A0A #0A3C4A
square
#380A4A #4A180A #1C4A0A #0A3C4A
split-complementary
#380A4A #3C4A0A #0A4A18
monochromatic
#14041B #14041B #380A4A #611180 #8A19B6

Accessibility & contrast

On white

16.03
#380A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380A4A
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A4A#FFFFFF#000000##FFFFFF
##380A4A1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#052249
Tritanopia (blue-blind)
#36192A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380a4a;
/* rgb */ color: rgb(56, 10, 74);
/* oklch */ color: oklch(26.4% 0.113 314.1);
Tailwind
colors: {
  custom: {
    50: '#724f7d',
    500: '#380a4a',
    950: '#000000',
  },
}
SCSS
$custom: #380a4a;
$custom-light: #724f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#380a4a",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 283.125,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.1131,
    "h": 314.1
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#380A4A
secondary
#438729
accent
#F3356A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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