#380B4A#380B4A

#380B4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.112 H 313.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#380B4A
RGBrgb(56, 11, 74)
HSLhsl(283, 74%, 17%)
HSVhsv(283, 85%, 29%)
CMYKcmyk(24.3%, 85.1%, 0%, 71%)
CIE-LABlab(13.07, 32.45, -28.53)
CIE-LCHlch(13.07, 43.21, 318.68°)
OKLaboklab(26.52% 0.0777 -0.0806)
OKLCHoklch(26.52% 0.112 313.9)
XYZxyz(2.9864, 1.5746, 6.6239)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B4A #1D4A0B
analogous
#190B4A #380B4A #4A0B3D
triadic
#380B4A #4A380B #0B4A38
tetradic
#380B4A #4A190B #1D4A0B #0B3D4A
square
#380B4A #4A190B #1D4A0B #0B3D4A
split-complementary
#380B4A #3D4A0B #0B4A19
monochromatic
#14041B #14041B #380B4A #60137F #891BB5

Accessibility & contrast

On white

15.97
#380B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B4A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B4A#FFFFFF#000000##FFFFFF
##380B4A1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#361A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380b4a;
/* rgb */ color: rgb(56, 11, 74);
/* oklch */ color: oklch(26.5% 0.112 313.9);
Tailwind
colors: {
  custom: {
    50: '#72507d',
    500: '#380b4a',
    950: '#000000',
  },
}
SCSS
$custom: #380b4a;
$custom-light: #72507d;
$custom-dark: #000000;
JSON
{
  "hex": "#380b4a",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 282.857,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26519,
    "c": 0.11195,
    "h": 313.9
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#380B4A
secondary
#45862B
accent
#F1376C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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