#381149#381149

#381149 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.103 H 313.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#381149
RGBrgb(56, 17, 73)
HSLhsl(282, 62%, 18%)
HSVhsv(282, 77%, 29%)
CMYKcmyk(23.3%, 76.7%, 0%, 71.4%)
CIE-LABlab(13.96, 29.47, -26.41)
CIE-LCHlch(13.96, 39.57, 318.13°)
OKLaboklab(27.12% 0.071 -0.0744)
OKLCHoklch(27.12% 0.103 313.6)
XYZxyz(3.0337, 1.7228, 6.4748)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381149 #224911
analogous
#1C1149 #381149 #49113E
triadic
#381149 #493811 #114938
tetradic
#381149 #491C11 #224911 #113E49
square
#381149 #491C11 #224911 #113E49
split-complementary
#381149 #3E4911 #11491C
monochromatic
#130619 #130619 #381149 #5E1D7B #8428AC

Accessibility & contrast

On white

15.62
#381149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381149
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381149#FFFFFF#000000##FFFFFF
##3811491.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0D2448
Tritanopia (blue-blind)
#361D2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #381149;
/* rgb */ color: rgb(56, 17, 73);
/* oklch */ color: oklch(27.1% 0.103 313.6);
Tailwind
colors: {
  custom: {
    50: '#71537c',
    500: '#381149',
    950: '#000000',
  },
}
SCSS
$custom: #381149;
$custom-light: #71537c;
$custom-dark: #000000;
JSON
{
  "hex": "#381149",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 281.786,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27122,
    "c": 0.10287,
    "h": 313.6
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#381149
secondary
#4B8233
accent
#E54374
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #381149

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

Preview Lab → · Contrast checker → · Palette generator →

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