#381034#381034

#381034 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.082 H 331.8°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#381034
RGBrgb(56, 16, 52)
HSLhsl(306, 56%, 14%)
HSVhsv(306, 71%, 22%)
CMYKcmyk(0%, 71.4%, 7.1%, 78%)
CIE-LABlab(12.35, 25.23, -14.11)
CIE-LCHlch(12.35, 28.91, 330.78°)
OKLaboklab(25.5% 0.0721 -0.0387)
OKLCHoklch(25.5% 0.082 331.8)
XYZxyz(2.4360, 1.4594, 3.4015)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381034 #103814
analogous
#281038 #381034 #381020
triadic
#381034 #343810 #103438
tetradic
#381034 #382810 #103814 #102038
square
#381034 #382810 #103814 #102038
split-complementary
#381034 #203810 #103828
monochromatic
#180716 #180716 #381034 #681E60 #972B8C

Accessibility & contrast

On white

16.26
#381034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#381034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381034
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381034#FFFFFF#000000##FFFFFF
##3810341.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D35
Deuteranopia (green-blind)
#1B2233
Tritanopia (blue-blind)
#3B1420
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #381034;
/* rgb */ color: rgb(56, 16, 52);
/* oklch */ color: oklch(25.5% 0.082 331.8);
Tailwind
colors: {
  custom: {
    50: '#70516b',
    500: '#381034',
    950: '#000000',
  },
}
SCSS
$custom: #381034;
$custom-light: #70516b;
$custom-dark: #000000;
JSON
{
  "hex": "#381034",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 306,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25498,
    "c": 0.08182,
    "h": 331.8
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#381034
secondary
#327238
accent
#DF5849
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #381034

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

Preview Lab → · Contrast checker → · Palette generator →

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