#381037#381037

#381037 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.085 H 328.7°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#381037
RGBrgb(56, 16, 55)
HSLhsl(302, 56%, 14%)
HSVhsv(302, 71%, 22%)
CMYKcmyk(0%, 71.4%, 1.8%, 78%)
CIE-LABlab(12.53, 25.85, -15.99)
CIE-LCHlch(12.53, 30.40, 328.25°)
OKLaboklab(25.69% 0.0725 -0.0441)
OKLCHoklch(25.69% 0.085 328.7)
XYZxyz(2.5057, 1.4873, 3.7688)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381037 #103811
analogous
#251038 #381037 #381023
triadic
#381037 #373810 #103738
tetradic
#381037 #382510 #103811 #102338
square
#381037 #382510 #103811 #102338
split-complementary
#381037 #233810 #103825
monochromatic
#180717 #180717 #381037 #681E66 #972B95

Accessibility & contrast

On white

16.19
#381037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#381037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381037
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381037#FFFFFF#000000##FFFFFF
##3810371.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1D38
Deuteranopia (green-blind)
#1A2236
Tritanopia (blue-blind)
#3A1521
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #381037;
/* rgb */ color: rgb(56, 16, 55);
/* oklch */ color: oklch(25.7% 0.085 328.7);
Tailwind
colors: {
  custom: {
    50: '#70516e',
    500: '#381037',
    950: '#000000',
  },
}
SCSS
$custom: #381037;
$custom-light: #70516e;
$custom-dark: #000000;
JSON
{
  "hex": "#381037",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 301.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25688,
    "c": 0.08483,
    "h": 328.7
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#381037
secondary
#327234
accent
#DF4D49
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #381037

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

Preview Lab → · Contrast checker → · Palette generator →

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