#381C59#381C59

#381C59 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.106 H 301.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#381C59
RGBrgb(56, 28, 89)
HSLhsl(268, 52%, 23%)
HSVhsv(268, 69%, 35%)
CMYKcmyk(37.1%, 68.5%, 0%, 65.1%)
CIE-LABlab(17.43, 27.63, -31.72)
CIE-LCHlch(17.43, 42.06, 311.05°)
OKLaboklab(30.01% 0.055 -0.0901)
OKLCHoklch(30.01% 0.106 301.4)
XYZxyz(3.8489, 2.3925, 9.7083)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C59 #3D591C
analogous
#1C1E59 #381C59 #561C59
triadic
#381C59 #59381C #1C5938
tetradic
#381C59 #591C1E #3D591C #1C5956
square
#381C59 #591C1E #3D591C #1C5956
split-complementary
#381C59 #59561C #1E591C
monochromatic
#0F0717 #1B0D2A #381C59 #552B88 #7339B6

Accessibility & contrast

On white

14.20
#381C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381C59
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C59#FFFFFF#000000##FFFFFF
##381C591.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#062A58
Tritanopia (blue-blind)
#312937
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381c59;
/* rgb */ color: rgb(56, 28, 89);
/* oklch */ color: oklch(30.0% 0.106 301.4);
Tailwind
colors: {
  custom: {
    50: '#725a88',
    500: '#381c59',
    950: '#000000',
  },
}
SCSS
$custom: #381c59;
$custom-light: #725a88;
$custom-dark: #000000;
JSON
{
  "hex": "#381c59",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 267.541,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.10555,
    "h": 301.4
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#381C59
secondary
#6C8F42
accent
#DC4C9A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381C59

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

Preview Lab → · Contrast checker → · Palette generator →

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