#381353#381353

#381353 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.112 H 307.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#381353
RGBrgb(56, 19, 83)
HSLhsl(275, 63%, 20%)
HSVhsv(275, 77%, 33%)
CMYKcmyk(32.5%, 77.1%, 0%, 67.5%)
CIE-LABlab(15.12, 31.00, -31.40)
CIE-LCHlch(15.12, 44.12, 314.64°)
OKLaboklab(28.2% 0.0672 -0.0891)
OKLCHoklch(28.2% 0.112 307)
XYZxyz(3.4248, 1.9311, 8.3743)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381353 #2E5313
analogous
#181353 #381353 #53134E
triadic
#381353 #533813 #135338
tetradic
#381353 #531813 #2E5313 #134E53
square
#381353 #531813 #2E5313 #134E53
split-complementary
#381353 #4E5313 #135318
monochromatic
#110619 #160821 #381353 #5A1E85 #7B2AB7

Accessibility & contrast

On white

15.15
#381353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#381353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381353
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381353#FFFFFF#000000##FFFFFF
##3813531.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#012652
Tritanopia (blue-blind)
#332231
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381353;
/* rgb */ color: rgb(56, 19, 83);
/* oklch */ color: oklch(28.2% 0.112 307.0);
Tailwind
colors: {
  custom: {
    50: '#725484',
    500: '#381353',
    950: '#000000',
  },
}
SCSS
$custom: #381353;
$custom-light: #725484;
$custom-dark: #000000;
JSON
{
  "hex": "#381353",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 274.688,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.28204,
    "c": 0.11157,
    "h": 307
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#381353
secondary
#5A8B36
accent
#E64287
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381353

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

Preview Lab → · Contrast checker → · Palette generator →

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