#380C49#380C49

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

Color values

HEX#380C49
RGBrgb(56, 12, 73)
HSLhsl(283, 72%, 17%)
HSVhsv(283, 84%, 29%)
CMYKcmyk(23.3%, 83.6%, 0%, 71.4%)
CIE-LABlab(13.14, 31.80, -27.73)
CIE-LCHlch(13.14, 42.20, 318.91°)
OKLaboklab(26.54% 0.0768 -0.0783)
OKLCHoklch(26.54% 0.11 314.5)
XYZxyz(2.9648, 1.5848, 6.4518)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C49 #1D490C
analogous
#1A0C49 #380C49 #490C3C
triadic
#380C49 #49380C #0C4938
tetradic
#380C49 #491A0C #1D490C #0C3C49
square
#380C49 #491A0C #1D490C #0C3C49
split-complementary
#380C49 #3C490C #0C491A
monochromatic
#14041A #14041A #380C49 #60157E #891DB2

Accessibility & contrast

On white

15.95
#380C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C49
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C49#FFFFFF#000000##FFFFFF
##380C491.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380c49;
/* rgb */ color: rgb(56, 12, 73);
/* oklch */ color: oklch(26.5% 0.110 314.5);
Tailwind
colors: {
  custom: {
    50: '#71507c',
    500: '#380c49',
    950: '#000000',
  },
}
SCSS
$custom: #380c49;
$custom-light: #71507c;
$custom-dark: #000000;
JSON
{
  "hex": "#380c49",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 283.279,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26537,
    "c": 0.1097,
    "h": 314.5
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#380C49
secondary
#45852C
accent
#EE396C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C49

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

Preview Lab → · Contrast checker → · Palette generator →

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