#381049#381049

#381049 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.104 H 313.8°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#381049
RGBrgb(56, 16, 73)
HSLhsl(282, 64%, 17%)
HSVhsv(282, 78%, 29%)
CMYKcmyk(23.3%, 78.1%, 0%, 71.4%)
CIE-LABlab(13.78, 29.97, -26.69)
CIE-LCHlch(13.78, 40.13, 318.31°)
OKLaboklab(27% 0.0723 -0.0753)
OKLCHoklch(27% 0.104 313.8)
XYZxyz(3.0186, 1.6925, 6.4697)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381049 #214910
analogous
#1B1049 #381049 #49103E
triadic
#381049 #493810 #104938
tetradic
#381049 #491B10 #214910 #103E49
square
#381049 #491B10 #214910 #103E49
split-complementary
#381049 #3E4910 #10491B
monochromatic
#130619 #130619 #381049 #5F1B7B #8526AD

Accessibility & contrast

On white

15.69
#381049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#381049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381049
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381049#FFFFFF#000000##FFFFFF
##3810491.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0C2448
Tritanopia (blue-blind)
#361C2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #381049;
/* rgb */ color: rgb(56, 16, 73);
/* oklch */ color: oklch(27.0% 0.104 313.8);
Tailwind
colors: {
  custom: {
    50: '#71527c',
    500: '#381049',
    950: '#000000',
  },
}
SCSS
$custom: #381049;
$custom-light: #71527c;
$custom-dark: #000000;
JSON
{
  "hex": "#381049",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 282.105,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26995,
    "c": 0.10433,
    "h": 313.8
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#381049
secondary
#4A8332
accent
#E74172
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #381049

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

Preview Lab → · Contrast checker → · Palette generator →

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