#381141#381141

#381141 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.094 H 319.6°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#381141
RGBrgb(56, 17, 65)
HSLhsl(289, 59%, 16%)
HSVhsv(289, 74%, 25%)
CMYKcmyk(13.8%, 73.8%, 0%, 74.5%)
CIE-LABlab(13.37, 27.55, -21.77)
CIE-LCHlch(13.37, 35.11, 321.69°)
OKLaboklab(26.51% 0.0715 -0.0608)
OKLCHoklch(26.51% 0.094 319.6)
XYZxyz(2.7853, 1.6234, 5.1666)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381141 #1A4111
analogous
#201141 #381141 #411132
triadic
#381141 #413811 #114138
tetradic
#381141 #412011 #1A4111 #113241
square
#381141 #412011 #1A4111 #113241
split-complementary
#381141 #324111 #114120
monochromatic
#150618 #150618 #381141 #621E72 #8C2AA2

Accessibility & contrast

On white

15.85
#381141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#381141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381141
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381141#FFFFFF#000000##FFFFFF
##3811411.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#381927
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #381141;
/* rgb */ color: rgb(56, 17, 65);
/* oklch */ color: oklch(26.5% 0.094 319.6);
Tailwind
colors: {
  custom: {
    50: '#715276',
    500: '#381141',
    950: '#000000',
  },
}
SCSS
$custom: #381141;
$custom-light: #715276;
$custom-dark: #000000;
JSON
{
  "hex": "#381141",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 288.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26512,
    "c": 0.09387,
    "h": 319.6
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#381141
secondary
#417B33
accent
#E24663
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #381141

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

Preview Lab → · Contrast checker → · Palette generator →

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