#381344#381344

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

Color values

HEX#381344
RGBrgb(56, 19, 68)
HSLhsl(285, 56%, 17%)
HSVhsv(285, 72%, 27%)
CMYKcmyk(17.6%, 72.1%, 0%, 73.3%)
CIE-LABlab(13.97, 27.20, -22.92)
CIE-LCHlch(13.97, 35.57, 319.88°)
OKLaboklab(27.01% 0.0687 -0.0642)
OKLCHoklch(27.01% 0.094 316.9)
XYZxyz(2.9070, 1.7240, 5.6474)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381344 #1F4413
analogous
#201344 #381344 #441338
triadic
#381344 #443813 #134438
tetradic
#381344 #442013 #1F4413 #133844
square
#381344 #442013 #1F4413 #133844
split-complementary
#381344 #384413 #134420
monochromatic
#140718 #140718 #381344 #5F2074 #872EA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##381344#FFFFFF#000000##FFFFFF
##3813441.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)
#032145
Deuteranopia (green-blind)
#142543
Tritanopia (blue-blind)
#371C29
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #381344;
/* rgb */ color: rgb(56, 19, 68);
/* oklch */ color: oklch(27.0% 0.094 316.9);
Tailwind
colors: {
  custom: {
    50: '#715478',
    500: '#381344',
    950: '#000000',
  },
}
SCSS
$custom: #381344;
$custom-light: #715478;
$custom-dark: #000000;
JSON
{
  "hex": "#381344",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 285.306,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27008,
    "c": 0.09401,
    "h": 316.9
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#381344
secondary
#477D36
accent
#E0486D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #381344

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

Preview Lab → · Contrast checker → · Palette generator →

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