#381561#381561

#381561 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.126 H 299.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#381561
RGBrgb(56, 21, 97)
HSLhsl(268, 64%, 23%)
HSVhsv(268, 78%, 38%)
CMYKcmyk(42.3%, 78.4%, 0%, 62%)
CIE-LABlab(16.70, 33.78, -38.23)
CIE-LCHlch(16.70, 51.02, 311.46°)
OKLaboklab(29.7% 0.062 -0.1092)
OKLCHoklch(29.7% 0.126 299.6)
XYZxyz(4.0562, 2.2401, 11.5256)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381561 #3E6115
analogous
#151861 #381561 #5E1561
triadic
#381561 #613815 #156138
tetradic
#381561 #611518 #3E6115 #15615E
square
#381561 #611518 #3E6115 #15615E
split-complementary
#381561 #615E15 #186115
monochromatic
#0F0519 #1B0A2F #381561 #552093 #722BC6

Accessibility & contrast

On white

14.50
#381561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#381561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381561
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381561#FFFFFF#000000##FFFFFF
##3815611.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#2E283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381561;
/* rgb */ color: rgb(56, 21, 97);
/* oklch */ color: oklch(29.7% 0.126 299.6);
Tailwind
colors: {
  custom: {
    50: '#73568f',
    500: '#381561',
    950: '#000000',
  },
}
SCSS
$custom: #381561;
$custom-light: #73568f;
$custom-dark: #000000;
JSON
{
  "hex": "#381561",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 267.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.12555,
    "h": 299.6
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#381561
secondary
#6D983A
accent
#E7409A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381561

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

Preview Lab → · Contrast checker → · Palette generator →

#381561 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva