#381D50#381D50

#381D50 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 306.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#381D50
RGBrgb(56, 29, 80)
HSLhsl(272, 47%, 21%)
HSVhsv(272, 64%, 31%)
CMYKcmyk(30%, 63.7%, 0%, 68.6%)
CIE-LABlab(16.98, 24.46, -26.36)
CIE-LCHlch(16.98, 35.96, 312.86°)
OKLaboklab(29.47% 0.0539 -0.0744)
OKLCHoklch(29.47% 0.092 306)
XYZxyz(3.5179, 2.2987, 7.8462)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D50 #35501D
analogous
#1F1D50 #381D50 #501D4F
triadic
#381D50 #50381D #1D5038
tetradic
#381D50 #501F1D #35501D #1D4F50
square
#381D50 #501F1D #35501D #1D4F50
split-complementary
#381D50 #4F501D #1D501F
monochromatic
#100816 #190D23 #381D50 #572D7D #773EAA

Accessibility & contrast

On white

14.39
#381D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D50
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D50#FFFFFF#000000##FFFFFF
##381D501.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082952
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#342733
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381d50;
/* rgb */ color: rgb(56, 29, 80);
/* oklch */ color: oklch(29.5% 0.092 306.0);
Tailwind
colors: {
  custom: {
    50: '#715a81',
    500: '#381d50',
    950: '#000000',
  },
}
SCSS
$custom: #381d50;
$custom-light: #715a81;
$custom-dark: #000000;
JSON
{
  "hex": "#381d50",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 271.765,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29474,
    "c": 0.09186,
    "h": 306
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#381D50
secondary
#628544
accent
#D65190
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #381D50

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

Preview Lab → · Contrast checker → · Palette generator →

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