#380B4B#380B4B

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

Color values

HEX#380B4B
RGBrgb(56, 11, 75)
HSLhsl(282, 74%, 17%)
HSVhsv(282, 85%, 29%)
CMYKcmyk(25.3%, 85.3%, 0%, 70.6%)
CIE-LABlab(13.16, 32.69, -29.09)
CIE-LCHlch(13.16, 43.76, 318.34°)
OKLaboklab(26.6% 0.0775 -0.0822)
OKLCHoklch(26.6% 0.113 313.3)
XYZxyz(3.0203, 1.5882, 6.8027)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B4B #1E4B0B
analogous
#180B4B #380B4B #4B0B3E
triadic
#380B4B #4B380B #0B4B38
tetradic
#380B4B #4B180B #1E4B0B #0B3E4B
square
#380B4B #4B180B #1E4B0B #0B3E4B
split-complementary
#380B4B #3E4B0B #0B4B18
monochromatic
#14041B #14041B #380B4B #601380 #881BB6

Accessibility & contrast

On white

15.94
#380B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B4B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B4B#FFFFFF#000000##FFFFFF
##380B4B1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#361A2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380b4b;
/* rgb */ color: rgb(56, 11, 75);
/* oklch */ color: oklch(26.6% 0.113 313.3);
Tailwind
colors: {
  custom: {
    50: '#72507e',
    500: '#380b4b',
    950: '#000000',
  },
}
SCSS
$custom: #380b4b;
$custom-light: #72507e;
$custom-dark: #000000;
JSON
{
  "hex": "#380b4b",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 282.188,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26604,
    "c": 0.113,
    "h": 313.3
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#380B4B
secondary
#46872B
accent
#F1376E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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