#381350#381350

#381350 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.108 H 308.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#381350
RGBrgb(56, 19, 80)
HSLhsl(276, 62%, 19%)
HSVhsv(276, 76%, 31%)
CMYKcmyk(30%, 76.3%, 0%, 68.6%)
CIE-LABlab(14.88, 30.22, -29.75)
CIE-LCHlch(14.88, 42.40, 315.45°)
OKLaboklab(27.95% 0.0676 -0.0842)
OKLCHoklch(27.95% 0.108 308.8)
XYZxyz(3.3114, 1.8857, 7.7774)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381350 #2B5013
analogous
#191350 #381350 #50134A
triadic
#381350 #503813 #135038
tetradic
#381350 #501913 #2B5013 #134A50
square
#381350 #501913 #2B5013 #134A50
split-complementary
#381350 #4A5013 #135019
monochromatic
#110619 #15071F #381350 #5B1F81 #7D2AB3

Accessibility & contrast

On white

15.25
#381350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#381350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381350
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381350#FFFFFF#000000##FFFFFF
##3813501.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#342030
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381350;
/* rgb */ color: rgb(56, 19, 80);
/* oklch */ color: oklch(28.0% 0.108 308.8);
Tailwind
colors: {
  custom: {
    50: '#715481',
    500: '#381350',
    950: '#000000',
  },
}
SCSS
$custom: #381350;
$custom-light: #715481;
$custom-dark: #000000;
JSON
{
  "hex": "#381350",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 276.393,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27951,
    "c": 0.10804,
    "h": 308.8
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#381350
secondary
#578936
accent
#E54383
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #381350

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

Preview Lab → · Contrast checker → · Palette generator →

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