#381044#381044

#381044 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.099 H 317.4°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#381044
RGBrgb(56, 16, 68)
HSLhsl(286, 62%, 16%)
HSVhsv(286, 76%, 27%)
CMYKcmyk(17.6%, 76.5%, 0%, 73.3%)
CIE-LABlab(13.40, 28.76, -23.82)
CIE-LCHlch(13.40, 37.34, 320.37°)
OKLaboklab(26.6% 0.0727 -0.0668)
OKLCHoklch(26.6% 0.099 317.4)
XYZxyz(2.8594, 1.6288, 5.6315)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381044 #1C4410
analogous
#1E1044 #381044 #441036
triadic
#381044 #443810 #104438
tetradic
#381044 #441E10 #1C4410 #103644
square
#381044 #441E10 #1C4410 #103644
split-complementary
#381044 #364410 #10441E
monochromatic
#140619 #140619 #381044 #611C76 #8A27A7

Accessibility & contrast

On white

15.84
#381044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#381044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381044
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381044#FFFFFF#000000##FFFFFF
##3810441.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#112443
Tritanopia (blue-blind)
#381A28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #381044;
/* rgb */ color: rgb(56, 16, 68);
/* oklch */ color: oklch(26.6% 0.099 317.4);
Tailwind
colors: {
  custom: {
    50: '#715278',
    500: '#381044',
    950: '#000000',
  },
}
SCSS
$custom: #381044;
$custom-light: #715278;
$custom-dark: #000000;
JSON
{
  "hex": "#381044",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 286.154,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26604,
    "c": 0.09876,
    "h": 317.4
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#381044
secondary
#437E32
accent
#E54368
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #381044

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

Preview Lab → · Contrast checker → · Palette generator →

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