#381A44#381A44

#381A44 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.1% C 0.082 H 315.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#381A44
RGBrgb(56, 26, 68)
HSLhsl(283, 45%, 18%)
HSVhsv(283, 62%, 27%)
CMYKcmyk(17.6%, 61.8%, 0%, 73.3%)
CIE-LABlab(15.47, 23.12, -20.52)
CIE-LCHlch(15.47, 30.92, 318.40°)
OKLaboklab(28.11% 0.058 -0.0573)
OKLCHoklch(28.11% 0.082 315.4)
XYZxyz(3.0435, 1.9970, 5.6929)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A44 #26441A
analogous
#231A44 #381A44 #441A3B
triadic
#381A44 #44381A #1A4438
tetradic
#381A44 #44231A #26441A #1A3B44
square
#381A44 #44231A #26441A #1A3B44
split-complementary
#381A44 #3B441A #1A4423
monochromatic
#120816 #140918 #381A44 #5C2B70 #813C9D

Accessibility & contrast

On white

15.01
#381A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#381A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A44
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A44#FFFFFF#000000##FFFFFF
##381A441.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#1A2843
Tritanopia (blue-blind)
#37212C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381a44;
/* rgb */ color: rgb(56, 26, 68);
/* oklch */ color: oklch(28.1% 0.082 315.4);
Tailwind
colors: {
  custom: {
    50: '#705878',
    500: '#381a44',
    950: '#000000',
  },
}
SCSS
$custom: #381a44;
$custom-light: #705878;
$custom-dark: #000000;
JSON
{
  "hex": "#381a44",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 282.857,
    "s": 44.681,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28105,
    "c": 0.08155,
    "h": 315.4
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#381A44
secondary
#507A40
accent
#D45378
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #381A44

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

Preview Lab → · Contrast checker → · Palette generator →

#381A44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva