#381447#381447

#381447 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.096 H 314.5°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#381447
RGBrgb(56, 20, 71)
HSLhsl(282, 56%, 18%)
HSVhsv(282, 72%, 28%)
CMYKcmyk(21.1%, 71.8%, 0%, 72.2%)
CIE-LABlab(14.38, 27.39, -24.35)
CIE-LCHlch(14.38, 36.65, 318.36°)
OKLaboklab(27.38% 0.0672 -0.0684)
OKLCHoklch(27.38% 0.096 314.5)
XYZxyz(3.0182, 1.7961, 6.1477)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381447 #234714
analogous
#1E1447 #381447 #47143C
triadic
#381447 #473814 #144738
tetradic
#381447 #471E14 #234714 #143C47
square
#381447 #471E14 #234714 #143C47
split-complementary
#381447 #3C4714 #14471E
monochromatic
#130718 #130718 #381447 #5E2177 #832FA6

Accessibility & contrast

On white

15.45
#381447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#381447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381447
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381447#FFFFFF#000000##FFFFFF
##3814471.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022249
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#371E2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #381447;
/* rgb */ color: rgb(56, 20, 71);
/* oklch */ color: oklch(27.4% 0.096 314.5);
Tailwind
colors: {
  custom: {
    50: '#71547a',
    500: '#381447',
    950: '#000000',
  },
}
SCSS
$custom: #381447;
$custom-light: #71547a;
$custom-dark: #000000;
JSON
{
  "hex": "#381447",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 282.353,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.09587,
    "h": 314.5
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#381447
secondary
#4D7F38
accent
#DF4875
background
#F6F5F7
surface
#ECE8ED
border
#C7C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #381447

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

Preview Lab → · Contrast checker → · Palette generator →

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