#381D55#381D55

#381D55 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.099 H 303.1°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#381D55
RGBrgb(56, 29, 85)
HSLhsl(269, 49%, 22%)
HSVhsv(269, 66%, 33%)
CMYKcmyk(34.1%, 65.9%, 0%, 66.7%)
CIE-LABlab(17.35, 25.87, -29.16)
CIE-LCHlch(17.35, 38.98, 311.58°)
OKLaboklab(29.85% 0.0539 -0.0826)
OKLCHoklch(29.85% 0.099 303.1)
XYZxyz(3.7096, 2.3754, 8.8556)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D55 #3A551D
analogous
#1D1E55 #381D55 #541D55
triadic
#381D55 #55381D #1D5538
tetradic
#381D55 #551D1E #3A551D #1D5554
square
#381D55 #551D1E #3A551D #1D5554
split-complementary
#381D55 #55541D #1E551D
monochromatic
#0F0817 #1A0D27 #381D55 #562D83 #743CB0

Accessibility & contrast

On white

14.24
#381D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#381D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D55
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D55#FFFFFF#000000##FFFFFF
##381D551.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A57
Deuteranopia (green-blind)
#0E2A54
Tritanopia (blue-blind)
#322936
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381d55;
/* rgb */ color: rgb(56, 29, 85);
/* oklch */ color: oklch(29.9% 0.099 303.1);
Tailwind
colors: {
  custom: {
    50: '#715a85',
    500: '#381d55',
    950: '#000000',
  },
}
SCSS
$custom: #381d55;
$custom-light: #715a85;
$custom-dark: #000000;
JSON
{
  "hex": "#381d55",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 268.929,
    "s": 49.123,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29855,
    "c": 0.0986,
    "h": 303.1
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#381D55
secondary
#688A44
accent
#D94F96
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381D55

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

Preview Lab → · Contrast checker → · Palette generator →

#381D55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva