#381680#381680

#381680 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.161 H 288.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#381680
RGBrgb(56, 22, 128)
HSLhsl(259, 71%, 29%)
HSVhsv(259, 83%, 50%)
CMYKcmyk(56.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.93, 42.10, -53.02)
CIE-LCHlch(19.93, 67.70, 308.46°)
OKLaboklab(32.9% 0.0516 -0.1525)
OKLCHoklch(32.9% 0.161 288.7)
XYZxyz(5.8129, 2.9728, 20.6854)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381680 #5E8016
analogous
#162980 #381680 #6D1680
triadic
#381680 #803816 #168038
tetradic
#381680 #801629 #5E8016 #16806D
square
#381680 #801629 #5E8016 #16806D
split-complementary
#381680 #806D16 #298016
monochromatic
#0B041A #210D4C #381680 #4F1FB4 #6A34DC

Accessibility & contrast

On white

13.17
#381680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#381680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381680
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381680#FFFFFF#000000##FFFFFF
##3816801.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#1A354C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #381680;
/* rgb */ color: rgb(56, 22, 128);
/* oklch */ color: oklch(32.9% 0.161 288.7);
Tailwind
colors: {
  custom: {
    50: '#7859a6',
    500: '#381680',
    950: '#000000',
  },
}
SCSS
$custom: #381680;
$custom-light: #7859a6;
$custom-dark: #000000;
JSON
{
  "hex": "#381680",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 259.245,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.329,
    "c": 0.16102,
    "h": 288.7
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#381680
secondary
#8EB53D
accent
#ED3AB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #381680

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

Preview Lab → · Contrast checker → · Palette generator →

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