#381359#381359

#381359 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.119 H 303.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#381359
RGBrgb(56, 19, 89)
HSLhsl(272, 65%, 21%)
HSVhsv(272, 79%, 35%)
CMYKcmyk(37.1%, 78.7%, 0%, 65.1%)
CIE-LABlab(15.63, 32.60, -34.62)
CIE-LCHlch(15.63, 47.55, 313.27°)
OKLaboklab(28.73% 0.066 -0.0986)
OKLCHoklch(28.73% 0.119 303.8)
XYZxyz(3.6665, 2.0278, 9.6475)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381359 #345913
analogous
#151359 #381359 #591357
triadic
#381359 #593813 #135938
tetradic
#381359 #591513 #345913 #135759
square
#381359 #591513 #345913 #135759
split-complementary
#381359 #575913 #135915
monochromatic
#100519 #180827 #381359 #581E8B #7729BE

Accessibility & contrast

On white

14.94
#381359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#381359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381359
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381359#FFFFFF#000000##FFFFFF
##3813591.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#312435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381359;
/* rgb */ color: rgb(56, 19, 89);
/* oklch */ color: oklch(28.7% 0.119 303.8);
Tailwind
colors: {
  custom: {
    50: '#725588',
    500: '#381359',
    950: '#000000',
  },
}
SCSS
$custom: #381359;
$custom-light: #725588;
$custom-dark: #000000;
JSON
{
  "hex": "#381359",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 271.714,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.11862,
    "h": 303.8
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#381359
secondary
#619137
accent
#E8408F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381359

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

Preview Lab → · Contrast checker → · Palette generator →

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