#381376#381376

#381376 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.152 H 292.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#381376
RGBrgb(56, 19, 118)
HSLhsl(262, 72%, 27%)
HSVhsv(262, 84%, 46%)
CMYKcmyk(52.5%, 83.9%, 0%, 53.7%)
CIE-LABlab(18.43, 40.60, -49.11)
CIE-LCHlch(18.43, 63.72, 309.58°)
OKLaboklab(31.54% 0.0572 -0.1411)
OKLCHoklch(31.54% 0.152 292.1)
XYZxyz(5.1328, 2.6143, 17.3702)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381376 #517613
analogous
#132076 #381376 #6A1376
triadic
#381376 #763813 #137638
tetradic
#381376 #761320 #517613 #13766A
square
#381376 #761320 #517613 #13766A
split-complementary
#381376 #766A13 #207613
monochromatic
#0D041A #1F0B41 #381376 #511BAB #6B27DC

Accessibility & contrast

On white

13.79
#381376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381376
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381376#FFFFFF#000000##FFFFFF
##3813761.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#233045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381376;
/* rgb */ color: rgb(56, 19, 118);
/* oklch */ color: oklch(31.5% 0.152 292.1);
Tailwind
colors: {
  custom: {
    50: '#76569e',
    500: '#381376',
    950: '#000000',
  },
}
SCSS
$custom: #381376;
$custom-light: #76569e;
$custom-dark: #000000;
JSON
{
  "hex": "#381376",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 262.424,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3154,
    "c": 0.15226,
    "h": 292.1
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#381376
secondary
#81AC39
accent
#EF39AB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381376

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

Preview Lab → · Contrast checker → · Palette generator →

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