#381A73#381A73

#381A73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.141 H 291.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#381A73
RGBrgb(56, 26, 115)
HSLhsl(260, 63%, 28%)
HSVhsv(260, 77%, 45%)
CMYKcmyk(51.3%, 77.4%, 0%, 54.9%)
CIE-LABlab(19.30, 36.37, -45.75)
CIE-LCHlch(19.30, 58.45, 308.48°)
OKLaboklab(32.06% 0.0524 -0.1313)
OKLCHoklch(32.06% 0.141 291.8)
XYZxyz(5.0939, 2.8172, 16.4917)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A73 #55731A
analogous
#1A2873 #381A73 #651A73
triadic
#381A73 #73381A #1A7338
tetradic
#381A73 #731A28 #55731A #1A7365
square
#381A73 #731A28 #55731A #1A7365
split-complementary
#381A73 #73651A #28731A
monochromatic
#0C0619 #200F41 #381A73 #5025A5 #6A36D2

Accessibility & contrast

On white

13.43
#381A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#381A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A73
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A73#FFFFFF#000000##FFFFFF
##381A731.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#253245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381a73;
/* rgb */ color: rgb(56, 26, 115);
/* oklch */ color: oklch(32.1% 0.141 291.8);
Tailwind
colors: {
  custom: {
    50: '#755a9c',
    500: '#381a73',
    950: '#000000',
  },
}
SCSS
$custom: #381a73;
$custom-light: #755a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#381a73",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 260.225,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32055,
    "c": 0.1414,
    "h": 291.8
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#381A73
secondary
#85A841
accent
#E642AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381A73

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

Preview Lab → · Contrast checker → · Palette generator →

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