#381C73#381C73

#381C73 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.139 H 291.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#381C73
RGBrgb(56, 28, 115)
HSLhsl(259, 61%, 28%)
HSVhsv(259, 76%, 45%)
CMYKcmyk(51.3%, 75.7%, 0%, 54.9%)
CIE-LABlab(19.68, 35.30, -45.13)
CIE-LCHlch(19.68, 57.30, 308.03°)
OKLaboklab(32.32% 0.0506 -0.1295)
OKLCHoklch(32.32% 0.139 291.3)
XYZxyz(5.1398, 2.9089, 16.5070)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C73 #57731C
analogous
#1C2C73 #381C73 #631C73
triadic
#381C73 #73381C #1C7338
tetradic
#381C73 #731C2C #57731C #1C7363
square
#381C73 #731C2C #57731C #1C7363
split-complementary
#381C73 #73631C #2C731C
monochromatic
#0C0619 #201042 #381C73 #5028A4 #6A3ACF

Accessibility & contrast

On white

13.28
#381C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#381C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C73
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C73#FFFFFF#000000##FFFFFF
##381C731.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#253345
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #381c73;
/* rgb */ color: rgb(56, 28, 115);
/* oklch */ color: oklch(32.3% 0.139 291.3);
Tailwind
colors: {
  custom: {
    50: '#755b9c',
    500: '#381c73',
    950: '#000000',
  },
}
SCSS
$custom: #381c73;
$custom-light: #755b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#381c73",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 259.31,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32323,
    "c": 0.13903,
    "h": 291.3
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#381C73
secondary
#87A743
accent
#E444B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381C73

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

Preview Lab → · Contrast checker → · Palette generator →

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