#381D59#381D59

#381D59 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.104 H 301.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#381D59
RGBrgb(56, 29, 89)
HSLhsl(267, 51%, 23%)
HSVhsv(267, 67%, 35%)
CMYKcmyk(37.1%, 67.4%, 0%, 65.1%)
CIE-LABlab(17.65, 27.02, -31.36)
CIE-LCHlch(17.65, 41.40, 310.75°)
OKLaboklab(30.17% 0.0537 -0.089)
OKLCHoklch(30.17% 0.104 301.1)
XYZxyz(3.8730, 2.4407, 9.7163)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D59 #3E591D
analogous
#1D2059 #381D59 #561D59
triadic
#381D59 #59381D #1D5938
tetradic
#381D59 #591D20 #3E591D #1D5956
square
#381D59 #591D20 #3E591D #1D5956
split-complementary
#381D59 #59561D #20591D
monochromatic
#0F0817 #1B0E2B #381D59 #552C87 #723BB5

Accessibility & contrast

On white

14.11
#381D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#381D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D59
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D59#FFFFFF#000000##FFFFFF
##381D591.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#082B58
Tritanopia (blue-blind)
#312A38
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381d59;
/* rgb */ color: rgb(56, 29, 89);
/* oklch */ color: oklch(30.2% 0.104 301.1);
Tailwind
colors: {
  custom: {
    50: '#725b88',
    500: '#381d59',
    950: '#000000',
  },
}
SCSS
$custom: #381d59;
$custom-light: #725b88;
$custom-dark: #000000;
JSON
{
  "hex": "#381d59",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 267,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30172,
    "c": 0.10396,
    "h": 301.1
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#381D59
secondary
#6D8E44
accent
#DA4D9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381D59

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

Preview Lab → · Contrast checker → · Palette generator →

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