#381144#381144

#381144 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.097 H 317.3°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#381144
RGBrgb(56, 17, 68)
HSLhsl(286, 60%, 17%)
HSVhsv(286, 75%, 27%)
CMYKcmyk(17.6%, 75%, 0%, 73.3%)
CIE-LABlab(13.59, 28.26, -23.53)
CIE-LCHlch(13.59, 36.77, 320.22°)
OKLaboklab(26.73% 0.0714 -0.066)
OKLCHoklch(26.73% 0.097 317.3)
XYZxyz(2.8746, 1.6591, 5.6365)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381144 #1D4411
analogous
#1F1144 #381144 #441137
triadic
#381144 #443811 #114438
tetradic
#381144 #441F11 #1D4411 #113744
square
#381144 #441F11 #1D4411 #113744
split-complementary
#381144 #374411 #11441F
monochromatic
#140618 #140618 #381144 #601D75 #8929A6

Accessibility & contrast

On white

15.77
#381144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381144
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381144#FFFFFF#000000##FFFFFF
##3811441.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#381B28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #381144;
/* rgb */ color: rgb(56, 17, 68);
/* oklch */ color: oklch(26.7% 0.097 317.3);
Tailwind
colors: {
  custom: {
    50: '#715378',
    500: '#381144',
    950: '#000000',
  },
}
SCSS
$custom: #381144;
$custom-light: #715378;
$custom-dark: #000000;
JSON
{
  "hex": "#381144",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 285.882,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26734,
    "c": 0.09722,
    "h": 317.3
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#381144
secondary
#457E33
accent
#E3456A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #381144

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

Preview Lab → · Contrast checker → · Palette generator →

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