#381D73#381D73

#381D73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.138 H 291.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#381D73
RGBrgb(56, 29, 115)
HSLhsl(259, 60%, 28%)
HSVhsv(259, 75%, 45%)
CMYKcmyk(51.3%, 74.8%, 0%, 54.9%)
CIE-LABlab(19.87, 34.75, -44.81)
CIE-LCHlch(19.87, 56.71, 307.80°)
OKLaboklab(32.46% 0.0496 -0.1286)
OKLCHoklch(32.46% 0.138 291.1)
XYZxyz(5.1639, 2.9571, 16.5150)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D73 #58731D
analogous
#1D2D73 #381D73 #631D73
triadic
#381D73 #73381D #1D7338
tetradic
#381D73 #731D2D #58731D #1D7363
square
#381D73 #731D2D #58731D #1D7363
split-complementary
#381D73 #73631D #2D731D
monochromatic
#0C0618 #201142 #381D73 #5029A4 #6A3CCE

Accessibility & contrast

On white

13.20
#381D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#381D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D73
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D73#FFFFFF#000000##FFFFFF
##381D731.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381d73;
/* rgb */ color: rgb(56, 29, 115);
/* oklch */ color: oklch(32.5% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#755c9c',
    500: '#381d73',
    950: '#000000',
  },
}
SCSS
$custom: #381d73;
$custom-light: #755c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#381d73",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 258.837,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32462,
    "c": 0.13781,
    "h": 291.1
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#381D73
secondary
#88A745
accent
#E345B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381D73

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

Preview Lab → · Contrast checker → · Palette generator →

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