#381346#381346

#381346 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.096 H 315.4°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#381346
RGBrgb(56, 19, 70)
HSLhsl(284, 57%, 17%)
HSVhsv(284, 73%, 27%)
CMYKcmyk(20%, 72.9%, 0%, 72.5%)
CIE-LABlab(14.11, 27.69, -24.09)
CIE-LCHlch(14.11, 36.70, 318.98°)
OKLaboklab(27.16% 0.0686 -0.0676)
OKLCHoklch(27.16% 0.096 315.4)
XYZxyz(2.9691, 1.7488, 5.9743)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381346 #214613
analogous
#1E1346 #381346 #46133B
triadic
#381346 #463813 #134638
tetradic
#381346 #461E13 #214613 #133B46
square
#381346 #461E13 #214613 #133B46
split-complementary
#381346 #3B4613 #13461E
monochromatic
#130718 #130718 #381346 #5F2076 #852DA6

Accessibility & contrast

On white

15.56
#381346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#381346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381346
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381346#FFFFFF#000000##FFFFFF
##3813461.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#122545
Tritanopia (blue-blind)
#371D2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #381346;
/* rgb */ color: rgb(56, 19, 70);
/* oklch */ color: oklch(27.2% 0.096 315.4);
Tailwind
colors: {
  custom: {
    50: '#71547a',
    500: '#381346',
    950: '#000000',
  },
}
SCSS
$custom: #381346;
$custom-light: #71547a;
$custom-dark: #000000;
JSON
{
  "hex": "#381346",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 283.529,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.09632,
    "h": 315.4
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#381346
secondary
#4A7F36
accent
#E14771
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #381346

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

Preview Lab → · Contrast checker → · Palette generator →

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