#381C53#381C53

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

Color values

HEX#381C53
RGBrgb(56, 28, 83)
HSLhsl(271, 50%, 22%)
HSVhsv(271, 66%, 33%)
CMYKcmyk(32.5%, 66.3%, 0%, 67.5%)
CIE-LABlab(16.97, 25.92, -28.42)
CIE-LCHlch(16.97, 38.46, 312.37°)
OKLaboklab(29.53% 0.0554 -0.0804)
OKLCHoklch(29.53% 0.098 304.6)
XYZxyz(3.6071, 2.2958, 8.4350)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C53 #37531C
analogous
#1C1C53 #381C53 #531C53
triadic
#381C53 #53381C #1C5338
tetradic
#381C53 #531C1C #37531C #1C5353
square
#381C53 #531C1C #37531C #1C5353
split-complementary
#381C53 #53531C #1C531C
monochromatic
#0F0817 #190D25 #381C53 #572B81 #763BAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##381C53#FFFFFF#000000##FFFFFF
##381C531.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)
#022955
Deuteranopia (green-blind)
#0F2A52
Tritanopia (blue-blind)
#332734
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381c53;
/* rgb */ color: rgb(56, 28, 83);
/* oklch */ color: oklch(29.5% 0.098 304.6);
Tailwind
colors: {
  custom: {
    50: '#715a84',
    500: '#381c53',
    950: '#000000',
  },
}
SCSS
$custom: #381c53;
$custom-light: #715a84;
$custom-dark: #000000;
JSON
{
  "hex": "#381c53",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 270.545,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.09761,
    "h": 304.6
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#381C53
secondary
#658942
accent
#D94F93
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381C53

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

Preview Lab → · Contrast checker → · Palette generator →

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